Package org.geotools.tile.impl.osm
Class OSMService
Object
TileService
WebMercatorTileService
OSMService
- All Implemented Interfaces:
ImageLoader
The tile service for the OpenStreetMap family.
- Since:
- 12
- Author:
- Tobias Sauerwein, Ugo Taddei
-
Field Summary
Fields inherited from class WebMercatorTileService
MAX_LATITUDE, MAX_LONGITUDE, MIN_LATITUDE, MIN_LONGITUDE, WEB_MERCATOR_CRS
Fields inherited from class TileService
cacheSize
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
Returns a list that represents a mapping between zoom-levels and map scale.Returns the TileFactory which is used to call the method getTileFromCoordinate().identifyTileAtCoordinate
(double lon, double lat, ZoomLevel zoomLevel) Returns tile identifier for the tile at the given coordinateMethods inherited from class WebMercatorTileService
getBounds, getProjectedTileCrs
Methods inherited from class TileService
createSafeEnvelopeInWGS84, findTilesInExtent, getBaseUrl, getHttpClient, getMaxZoomLevel, getMinZoomLevel, getName, getTileCrs, getTileHeight, getTileWidth, getZoomLevelFromMapScale, getZoomLevelToUse, loadImageTileImage, obtainTile, toString
-
Constructor Details
-
OSMService
-
-
Method Details
-
getScaleList
public double[] getScaleList()Description copied from class:TileService
Returns a list that represents a mapping between zoom-levels and map scale.Array index: zoom-level Value at index: map scale High zoom-level -> more detailed map Low zoom-level -> less detailed map
- Specified by:
getScaleList
in classTileService
- Returns:
- mapping between zoom-levels and map scale
-
getTileFactory
Description copied from class:TileService
Returns the TileFactory which is used to call the method getTileFromCoordinate().- Specified by:
getTileFactory
in classTileService
-
identifyTileAtCoordinate
Description copied from class:TileService
Returns tile identifier for the tile at the given coordinate- Specified by:
identifyTileAtCoordinate
in classTileService
-