Class OpenStreetMapProvider
java.lang.Object
com.codename1.maps.providers.MapProvider
com.codename1.maps.providers.TiledProvider
com.codename1.maps.providers.OpenStreetMapProvider
This is an OpenStreetMap Provider http://www.openstreetmap.org/
-
Field Summary
Fields inherited from class TiledProvider
_url, _zoomLevel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe provider attribution.intMaximal zoom level.Methods inherited from class TiledProvider
bboxFor, scale, tileFor, urlMethods inherited from class MapProvider
maxZoomFor, minZoomLevel, projection, tileSize, tileSize, translateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OpenStreetMapProvider
public OpenStreetMapProvider()Empty Constructor
-
-
Method Details
-
attribution
The provider attribution.
Returns
a String of the provider attribution
- Specified by:
attributionin classMapProvider
-
maxZoomLevel
public int maxZoomLevel()Maximal zoom level. Zoom levels are counted from zero to maxZoomLevel(). 0 is farest view, where the scale is greatest.- Specified by:
maxZoomLevelin classMapProvider
-