Class GmlRendererOL
Object
|
+--WidgetBase
|
+--GmlRendererBase
|
+--GmlRendererOL
- class
GmlRendererOL
- extends GmlRendererBase
Defined in GmlRendererOL.js
Constructor Summary |
GmlRendererOL
(widgetNode, model)
Render GML into HTML.
|
Method Summary |
void
|
clearWidget(objRef)
Remove widget from display.
|
void
|
hiddenListener(objRef, layerName)
Called when the context's hidden attribute changes.
|
void
|
hideFeature(objRef, fid)
Hides the feature specified by its fid from the map
|
void
|
init(objRef)
Initializes this widget
|
void
|
paint(objRef)
|
void
|
removeHiddenFeatures(objRef)
|
void
|
showFeature(objRef, fid)
Shows the feature specified by its fid in the map
|
containerNodeId
Object containerNodeId
defaultStyle
Object defaultStyle
Style object for default renderer styling of features.
This holds one style for each OpenLayers feature class
hoverCursor
Object hoverCursor
loaded
Object loaded
mbWidget
Object mbWidget
olLayer
Object olLayer
OpenLayers GML layer which renders the model doc
proj
Object proj
selectStyle
Object selectStyle
Style object for default renderer styling of features.
This holds one style for each OpenLayers feature class
stylesheet
Object stylesheet
GmlRendererOL
GmlRendererOL(widgetNode, model)
Render GML into HTML.
this.targetModel references the context model for the map
where the content of this widget should be rendered to.
If the model doc is not wfs compliant, a stylesheet
property has to be set for this widget. The xsl file
referenced in this property transforms the model doc to
a wfs FeatureCollection.
Parameters:
widgetNode
- The widget's XML object node from the configuration document.
model
- The model object that this widget belongs to.
clearWidget
void clearWidget(objRef)
Remove widget from display.
Parameters:
objRef
- Pointer to this object.
hiddenListener
void hiddenListener(objRef, layerName)
Called when the context's hidden attribute changes.
Parameters:
layerName
- The name of the layer that was toggled.
hideFeature
void hideFeature(objRef, fid)
Hides the feature specified by its fid from the map
Parameters:
fid
- feature id of the feature to hide. If it is null, the hideFeature param of the model will be used.
init
void init(objRef)
paint
void paint(objRef)
removeHiddenFeatures
void removeHiddenFeatures(objRef)
showFeature
void showFeature(objRef, fid)
Shows the feature specified by its fid in the map
Parameters:
fid
- feature id of the feature to show. If it is null, the showFeature param of the model will be used.
Documentation generated by
JSDoc on Sun Apr 27 20:30:54 2008