com.nutiteq.maps
Class DigitalGlobeMap
java.lang.Object
com.nutiteq.maps.BaseMap
com.nutiteq.maps.projections.EPSG3785
com.nutiteq.maps.DigitalGlobeMap
- All Implemented Interfaces:
- GeoMap, Projection, UnstreamedMap
public class DigitalGlobeMap
- extends EPSG3785
- implements UnstreamedMap
Areal maps provided by DigitalGlobe.
|
Method Summary |
java.lang.String |
buildPath(int mapX,
int mapY,
int zoom)
Build path for the tile image. |
| Methods inherited from class com.nutiteq.maps.BaseMap |
addTileOverlay, getCopyright, getInitializationTask, getMapHeight, getMapWidth, getMaxZoom, getMinZoom, getMissingTileImage, getZoomRange, getTileMapBounds, getTileOverlay, getTileSize, setCopyright, setMissingTileImage, zoom |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DigitalGlobeMap
public DigitalGlobeMap(java.lang.String licenseKey)
- Create new map for 256 tile size and zoom range 0-19.
- Parameters:
licenseKey - license key issued by DigitalGlobe
DigitalGlobeMap
public DigitalGlobeMap(Copyright copyright,
java.lang.String licenseKey)
buildPath
public java.lang.String buildPath(int mapX,
int mapY,
int zoom)
- Description copied from interface:
UnstreamedMap
- Build path for the tile image. Images reading from network and application
jar is supported.
- Specified by:
buildPath in interface UnstreamedMap
- Parameters:
mapX - tile top-left corner x on pixel mapmapY - tile top-left corner x on pixel mapzoom - zoom level
- Returns:
- path for the tile image.
For on-line URL must start with "http://" or "https://";
for filesystem starts with "file://";
for application package resource starts with "/"