public class OSMTileFactoryInfo extends TileFactoryInfo
baseURL
Constructor and Description |
---|
OSMTileFactoryInfo()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getTileUrl(int x,
int y,
int zoom)
Returns the tile url for the specified tile at the specified zoom level.
|
getBaseURL, getDefaultZoomLevel, getLongitudeDegreeWidthInPixels, getLongitudeRadianWidthInPixels, getMapCenterInPixelsAtZoom, getMapWidthInTilesAtZoom, getMaximumZoomLevel, getMinimumZoomLevel, getName, getTileSize, getTotalMapZoom, isXr2l, isYt2b, setDefaultZoomLevel, setXr2l, setYt2b
public String getTileUrl(int x, int y, int zoom)
TileFactoryInfo
baseURl =
http://www.myserver.com/maps?version=0.1 xparam = x yparam = y zparam = z tilepoint = [1,2] zoom level = 3
then the resulting url would be:
http://www.myserver.com/maps?version=0.1&x=1&y=2&z=3
Note that the URL can be
a file:
url.getTileUrl
in class TileFactoryInfo
x
- the x value, measured from left to righty
- the y value, measured from top to bottomzoom
- the zoom levelCopyright © 2013. All Rights Reserved.