SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for control elements which has to be implemented by all controls.
Author: JANConstructor Summary | |
IWOverlayLayer(map, parent, layer)
This class represents a overlay layer. |
Method Summary | |
void
|
addOverlay(overlay)
Adds a new overlay to this layer. |
IWOverlay
|
getOverlayById(id)
Returns the overlay for the given id.
The id can by set by the |
IWOverlay[]
|
getOverlays()
Returns the overlays of this layer. |
IWRange
|
getVisibilityRange()
Returns the visibility range of this layer. |
boolean
|
isVisible()
Returns true if this layer is visible. |
void
|
redraw()
Redraws the overlay layer. |
void
|
removeAllOverlays()
Removes all overlays from the layer. |
void
|
removeOverlay(overlay)
Removes the specified overlay from the layer. |
void
|
setVisibilityRange(range)
Sets the visibility range of this layer. |
void
|
setVisible(isVisible)
Sets the visibility of this layer. |
Constructor Detail |
IWOverlayLayer(map, parent, layer)
IWMap map
HTMLDivElement parent
- the divOverlay element
int layer
- the zIndex of this layer
Method Detail |
void addOverlay(overlay)
IWOverlay overlay
void
IWOverlay getOverlayById(id)
null
is returned.
The id can by set by the IWOverlay.setId()
method
String id
IWOverlay
IWOverlay[] getOverlays()
IWOverlay[]
IWRange getVisibilityRange()
IWRange
boolean isVisible()
boolean
void redraw()
void
void removeAllOverlays()
void
void removeOverlay(overlay)
IWOverlay overlay
void
void setVisibilityRange(range)
IWRange range
void
void setVisible(isVisible)
boolean isVisible
void