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, setYt2bpublic String getTileUrl(int x, int y, int zoom)
TileFactoryInfobaseURl =
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 TileFactoryInfox - the x value, measured from left to righty - the y value, measured from top to bottomzoom - the zoom levelCopyright © 2014. All Rights Reserved.