|
Community Map Builder 21 Aug 2007 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--MapContainerBase | +--TimeSeriesOL
Defined in TimeSeriesOL.js
Field Summary | |
Object |
containerNodeId
|
Object |
node
|
Constructor Summary | |
TimeSeriesOL
(widgetNode, model)
Widget to render a map from an OGC context document. |
Method Summary | |
void
|
addLayer(objRef, layerNode)
Adds a layer into the output |
void
|
clearWidget2(objRef)
This function is called when a new Context is about to be loaded - it deletes all the old layers so new ones can be loaded. |
void
|
deleteAllLayers(objRef)
Removes all layers from the output |
void
|
deleteLayer(objRef, layerName)
Removes a layer from the output |
Object
|
getLayer(objRef,layerName)
returns layer node from LayerMgr |
Object
|
getWebSafeStyle(objRef, colorNumber)
gets an OpenLayers vector style with web safe colors. |
void
|
hidden(objRef, layerName)
Hide/unhide a layer. |
void
|
moveLayerDown(objRef, layerName)
Moves a layer up in the stack of map layers |
void
|
moveLayerUp(objRef, layerName)
Moves a layer up in the stack of map layers |
void
|
paint(objRef, refresh)
Render the widget. |
void
|
refreshLayer(objRef, layerName , newParams)
Called for refreshing one layer. |
void
|
refreshWmsLayers(objRef)
Called after a feature has been added to a WFS. |
void
|
setOpacity(objRef, layerName)
Called when the context's opacity attribute changes. |
void
|
timestampListener(objRef, timestampIndex)
Called when the map timestamp is changed so set the layer visiblity. |
void
|
updateContext(e)
Event handler to keep the Mapbuilder context updated. |
void
|
updateMouse(e)
Restore the map cursor stored by buttons. |
Field Detail |
Object containerNodeId
Object node
Constructor Detail |
TimeSeriesOL(widgetNode, model)
widgetNode
- The widget's XML object node from the configuration document.
model
- The model object that this widget belongs to.
Method Detail |
void addLayer(objRef, layerNode)
layerName
- the WMS name for the layer to be added
void clearWidget2(objRef)
objRef
- Pointer to this object.
void deleteAllLayers(objRef)
objRef
- Pointer to this object.
layerName
- the WMS anme for the layer to be removed
void deleteLayer(objRef, layerName)
objRef
- Pointer to this object.
layerName
- the WMS anme for the layer to be removed
Object getLayer(objRef,layerName)
layerName
- The layer Id.
Object getWebSafeStyle(objRef, colorNumber)
objRef
- reference to this object
colorNumber
- number of a color from which to generate websafe color
void hidden(objRef, layerName)
objRef
- Pointer to widget object.
layerName
- Name of the layer to hide/unhide.
void moveLayerDown(objRef, layerName)
objRef
- Pointer to this object.
layerName
- the WMS name for the layer to be removed
void moveLayerUp(objRef, layerName)
objRef
- Pointer to this object.
layerName
- the WMS anme for the layer to be removed
void paint(objRef, refresh)
objRef
- Pointer to widget object.
void refreshLayer(objRef, layerName , newParams)
objRef
- This object.
layerName
- The name of the layer that was toggled.
void refreshWmsLayers(objRef)
void setOpacity(objRef, layerName)
objRef
- This object.
layerName
- The name of the layer that was toggled.
void timestampListener(objRef, timestampIndex)
objRef
- This object.
timestampIndex
- The array index for the layer to be displayed.
void updateContext(e)
e
- OpenLayers event
void updateMouse(e)
e
- OpenLayers event
|
Community Map Builder 21 Aug 2007 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |