SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class providing a overview map control.
Author: JANConstructor Summary | |
IWOverviewMapControl(map, defaultMapType, size)
Creates a new overview map control. |
Method Summary | |
void
|
afterAppend()
Creates the GUI and adds the control to the DOM |
IWMap
|
getMap()
Returns the map. |
IWMap
|
getOverviewMap()
Returns the overview map. |
IWSize
|
getSize()
Returns the size of the overview map control in pixel. |
int
|
getZoomStep()
Returns the zoomstep of the overview map. |
void
|
setZoomStep(newZoomStep)
Sets the zoomstep of the overview map. If the current zoomlevel of the map is 5 and the zoomstep is 3, than the zoomlevel of the overviewmap is 8. |
Constructor Detail |
IWOverviewMapControl(map, defaultMapType, size)
IWMap map
- the map which is controlled by this overview map.
String defaultMapType
- the maptype that should be used for the overview map.
IWSize size
- the size of the overview map. The default size of the overview map is set to 115 x 115 pixel.
Method Detail |
void afterAppend()
void
IWMap getMap()
IWMap
the map
IWMap getOverviewMap()
IWMap
the overview map
IWSize getSize()
IWSize
the size of the overview map control in pixel
int getZoomStep()
int
the zoomstep
void setZoomStep(newZoomStep)
newZoomStep
void