org.osmdroid.api.IMapView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of osmdroid-android Show documentation
Show all versions of osmdroid-android Show documentation
An Android library to display OpenStreetMap views.
package org.osmdroid.api;
import org.osmdroid.views.MapView;
/**
* An interface that resembles the Google Maps API MapView class
* and is implemented by the osmdroid {@link MapView} class.
*
* @author Neil Boyd
*
*/
public interface IMapView {
IMapController getController();
IProjection getProjection();
int getZoomLevel();
int getMaxZoomLevel();
int getLatitudeSpan();
int getLongitudeSpan();
IGeoPoint getMapCenter();
// some methods from View
// (well, just one for now)
void setBackgroundColor(int color);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy