SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class for managing different overlay layers.
Author: JANConstructor Summary | |
IWOverlayManager(map, container)
A class for managing different overlay layers |
Method Summary | |
IWOverlay[]
|
getAllOverlays()
Returns the overlays of all layers. |
IWOverlayLayer
|
getLayer(level)
Returns the overlay layer for the specified layer. |
boolean
|
isVisible()
Returns true if the overlay layers are visible, otherwise it returns false .
|
void
|
redraw()
Redraws all overlays. |
void
|
removeAllLayers()
Removes all layers from the map. |
void
|
removeLayer(level)
Removes the specified layer from the map. |
void
|
setVisible(visible)
Sets the visibility for all overlay layers. |
String
|
toString()
Returns a string representation of this overlay manager. |
Constructor Detail |
IWOverlayManager(map, container)
IWMap map
HTMLDivElement container
- the DIV container (divOverlay) on which the overlays are added.
Method Detail |
IWOverlay[] getAllOverlays()
IWOverlay[]
IWOverlayLayer getLayer(level)
int level
- the layer number
IWOverlayLayer
boolean isVisible()
true
if the overlay layers are visible, otherwise it returns false
.
boolean
void redraw()
redraw()
method.
void
void removeAllLayers()
void
void removeLayer(level)
int level
- the layer number
void
void setVisible(visible)
boolean visible
void
String toString()
String