Package org.geotools.tile.impl
Class WebMercatorTileService
- Object
-
- TileService
-
- WebMercatorTileService
-
- All Implemented Interfaces:
ImageLoader
- Direct Known Subclasses:
BingService
,OSMService
public abstract class WebMercatorTileService extends TileService
The WebMercatorTileService is an abstract class that holds some of the tile service logic for Mercator-based tile services.- Since:
- 12
- Author:
- Ugo Taddei
-
-
Field Summary
Fields Modifier and Type Field Description static double
MAX_LATITUDE
static double
MAX_LONGITUDE
static double
MIN_LATITUDE
static double
MIN_LONGITUDE
static CoordinateReferenceSystem
WEB_MERCATOR_CRS
-
Fields inherited from class TileService
cacheSize
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WebMercatorTileService(String name, String baseURL)
protected
WebMercatorTileService(String name, String baseURL, HTTPClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferencedEnvelope
getBounds()
Returns the bounds for the complete TileServiceCoordinateReferenceSystem
getProjectedTileCrs()
The projection the tiles are drawn in.-
Methods inherited from class TileService
createSafeEnvelopeInWGS84, findTilesInExtent, getBaseUrl, getHttpClient, getMaxZoomLevel, getMinZoomLevel, getName, getScaleList, getTileCrs, getTileFactory, getTileHeight, getTileWidth, getZoomLevelFromMapScale, getZoomLevelToUse, identifyTileAtCoordinate, loadImageTileImage, obtainTile, toString
-
-
-
-
Field Detail
-
MIN_LONGITUDE
public static final double MIN_LONGITUDE
- See Also:
- Constant Field Values
-
MIN_LATITUDE
public static final double MIN_LATITUDE
- See Also:
- Constant Field Values
-
MAX_LONGITUDE
public static final double MAX_LONGITUDE
- See Also:
- Constant Field Values
-
MAX_LATITUDE
public static final double MAX_LATITUDE
- See Also:
- Constant Field Values
-
WEB_MERCATOR_CRS
public static final CoordinateReferenceSystem WEB_MERCATOR_CRS
-
-
Constructor Detail
-
WebMercatorTileService
protected WebMercatorTileService(String name, String baseURL, HTTPClient client)
-
-
Method Detail
-
getBounds
public ReferencedEnvelope getBounds()
Description copied from class:TileService
Returns the bounds for the complete TileService- Specified by:
getBounds
in classTileService
-
getProjectedTileCrs
public CoordinateReferenceSystem getProjectedTileCrs()
Description copied from class:TileService
The projection the tiles are drawn in.- Specified by:
getProjectedTileCrs
in classTileService
-
-