|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GeoMap
Defines the basic properties for displayed map.
| Method Summary | |
|---|---|
void |
addTileOverlay(MapTileOverlay overlay)
Add overlay for displaying tiles with additional data on map tiles. |
Copyright |
getCopyright()
Map copyright string painted on screen |
com.nutiteq.task.Task |
getInitializationTask()
Get task that will be executed after this is set with BasicMapComponent.setMap(GeoMap) |
int |
getMapHeight(int zoom)
Get map height based on zoom level |
int |
getMapWidth(int zoom)
Get map width based on zoom level |
int |
getMaxZoom()
Maximum zoom level for implementing map. |
int |
getMinZoom()
Minimum zoom level for implementing map. |
com.nutiteq.wrappers.Image |
getMissingTileImage()
Get image used for showing missing image. |
ZoomRange |
getZoomRange()
Get zoom range for the map |
TileMapBounds |
getTileMapBounds(int zoom)
Get map bounds for given zoom level. |
MapTileOverlay |
getTileOverlay()
Get overlay used for map |
int |
getTileSize()
Get tile size for implemented map |
Point |
mapPosToWgs(MapPos pos)
Convert a point on pixel map to WGS84 coordinates (decimal coordinates * 1000000) |
void |
setMissingTileImage(com.nutiteq.wrappers.Image missingTile)
Set image used for missing tiles |
MapPos |
zoom(MapPos middlePoint,
int zoomSteps)
Do zoom calculations for screen middle point |
MapPos |
wgsToMapPos(Point wgs,
int zoom)
Convert WGS84 coordinates to pixel point on map |
| Method Detail |
|---|
com.nutiteq.task.Task getInitializationTask()
BasicMapComponent.setMap(GeoMap)
int getMinZoom()
int getMaxZoom()
Point mapPosToWgs(MapPos pos)
pos - pixel point on the map (on 256x256 pixels map of the world 0E 0N
is located at map pixel 128x : 128y)
MapPos wgsToMapPos(Point wgs,
int zoom)
wgs - WGS84 coordinates (decimal coordinates * 1000000)zoom - zoom level for the map
int getTileSize()
int getMapWidth(int zoom)
zoom - internal zoom (world in 256x256 pizels is 0)
int getMapHeight(int zoom)
zoom - internal zoom (world in 256x256 pizels is 0)
MapPos zoom(MapPos middlePoint,
int zoomSteps)
middlePoint - current middle pointzoomSteps - zoom steps (positive is zoom in, negative zoom out)
ZoomRange getZoomRange()
Copyright getCopyright()
TileMapBounds getTileMapBounds(int zoom)
zoom - current zoom level
void addTileOverlay(MapTileOverlay overlay)
overlay - overlay to be used for additional dataMapTileOverlay getTileOverlay()
com.nutiteq.wrappers.Image getMissingTileImage()
void setMissingTileImage(com.nutiteq.wrappers.Image missingTile)
missingTile - image used
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||