public abstract class WebMercatorTileFactory extends TileFactory
OpenStreetMap Wiki http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames#Java
Constructor and Description |
---|
WebMercatorTileFactory() |
Modifier and Type | Method and Description |
---|---|
static ReferencedEnvelope |
getExtentFromTileName(TileIdentifier tileName) |
ZoomLevel |
getZoomLevel(int zoomLevel,
TileService wmtSource)
Gets the ZoomLevel (object) for a given zoom level integer.
|
static double |
tile2lat(double y,
int z) |
static double |
tile2lon(double x,
int z) |
findLowerNeighbour, findRightNeighbour, findTileAtCoordinate, normalizeDegreeValue
public ZoomLevel getZoomLevel(int zoomLevel, TileService wmtSource)
TileFactory
getZoomLevel
in class TileFactory
zoomLevel
- the zoom levelwmtSource
- the servicepublic static ReferencedEnvelope getExtentFromTileName(TileIdentifier tileName)
public static final double tile2lon(double x, int z)
public static final double tile2lat(double y, int z)
Copyright © 1996–2019 Geotools. All rights reserved.