Class EditPolygon
Object
|
+--WidgetBase
|
+--ButtonBase
|
+--EditButtonBase
|
+--EditPolygon
- class
EditPolygon
- extends EditButtonBase
Author: Simon Flannery simonDOTflanneryATbigpondDOTcom
Defined in EditPolygon.js
Constructor Summary |
EditPolygon
(widgetNode, model)
When this button is selected, clicks on the MapPane will add a
new point to a polygon.
|
Method Summary |
Object
|
createControl(objRef)
Interactive EditPolygon control.
|
Object
|
instantiateControl(objRef, Control)
|
void
|
setFeature(objRef, <OpenLayers.Feature> feature)
Write geometry to the GML feature.
|
EditPolygon
EditPolygon(widgetNode, model)
When this button is selected, clicks on the MapPane will add a
new point to a polygon.
Parameters:
widgetNode
- The node from the Config XML file.
model
- The ButtonBar widget.
Author: Simon Flannery simonDOTflanneryATbigpondDOTcom
createControl
Object createControl(objRef)
Interactive EditPolygon control.
Parameters:
objRef
- reference to this object.
Returns:
{OpenLayers.Control} class of the OL control.
instantiateControl
Object instantiateControl(objRef, Control)
setFeature
void setFeature(objRef, <OpenLayers.Feature> feature)
Write geometry to the GML feature.
Called when a feature is finished
Parameters:
objRef
- Pointer to this object.
feature
- The polygon created
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007