public class VirtualEarthTileFactoryInfo extends TileFactoryInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
VirtualEarthTileFactoryInfo.MVEMode
The map mode
|
| Modifier and Type | Field and Description |
|---|---|
static VirtualEarthTileFactoryInfo.MVEMode |
HYBRID
Use hybrid map
|
static VirtualEarthTileFactoryInfo.MVEMode |
MAP
Use road map
|
static VirtualEarthTileFactoryInfo.MVEMode |
SATELLITE
Use satellite map
|
baseURL| Constructor and Description |
|---|
VirtualEarthTileFactoryInfo(VirtualEarthTileFactoryInfo.MVEMode mode) |
| Modifier and Type | Method and Description |
|---|---|
String |
getModeLabel() |
String |
getModeName() |
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 static final VirtualEarthTileFactoryInfo.MVEMode MAP
public static final VirtualEarthTileFactoryInfo.MVEMode SATELLITE
public static final VirtualEarthTileFactoryInfo.MVEMode HYBRID
public VirtualEarthTileFactoryInfo(VirtualEarthTileFactoryInfo.MVEMode mode)
mode - the modepublic String getModeName()
public String getModeLabel()
public 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.