SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class providing an overview map control. Yo Dawg, I herd you like maps so we put a map in your map so you can map while you map.
This class is part of the module controls.
This class requires the package graphics. See the section about modules in the FAQ for details.
Constructor Summary | |
IWOverviewMapControl(map, defaultMapTypeName, 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. |
|
getMaptype()
undocumented |
IWMap
|
getOverviewMap()
Returns the overview map. |
Object
|
getRenderingAttributes()
Returns the attributes to render the map extent. |
IWSize
|
getSize()
Returns the size of the overview map control in pixel. |
number
|
getZoomStep()
Returns the zoomstep of the overview map. |
void
|
setRenderingAttributes(attributes)
Sets the attributes to render the the map extent as specified in IWMapRenderer. |
void
|
setZoomStep(newZoomStep)
Sets the zoomstep of the overview map. If the current zoomlevel of the map is 5 and the zoomstep is 3, then the zoomlevel of the overviewmap is 8. |
Methods inherited from class IWMapElement |
isDisplayed() |
getParent() |
setParent(parent) |
isVisible() |
setVisible(visible) |
setPrintable(printable) |
isPrintable() |
setContainerClassname(classname) |
getContainer() |
setContainer(newContainer) |
setId(id) |
getId() |
onContextMenu(event) |
onMouseUp(event) |
onMouseDown(event) |
onMouseMove(event) |
onMouseOut(event) |
onMouseOver(event) |
onClick(event) |
onDblClick(event) |
onSelect(event) |
onMouseWheel(event) |
beforeAppend() |
beforeRemove() |
afterRemove() |
destroyMapElement() |
registerEvents(container) |
Methods inherited from class IWControl |
isControl() |
isRedrawable() |
setRedrawable(isRedrawable) |
getPadding() |
setPadding(newPadding) |
setFirstOrientation(alignment) |
getFirstOrientation() |
setSecondOrientation(alignment) |
getSecondOrientation() |
getName() |
toString() |
Constructor Detail |
IWOverviewMapControl(map, defaultMapTypeName, size)
IWMap map
- the map which is controlled by this overview map
String defaultMapTypeName
- the maptype that should be used for the overview map
IWSize size
- the size of the overview map (default: 115 x 115 pixel)
Method Detail |
void afterAppend()
void
IWMap getMap()
IWMap
the map
getMaptype()
IWMap getOverviewMap()
IWMap
the overview map
Object getRenderingAttributes()
Object
IWSize getSize()
IWSize
the size of the overview map control in pixel
number getZoomStep()
number
the zoomstep
void setRenderingAttributes(attributes)
attributes
void
void setZoomStep(newZoomStep)
newZoomStep
void