Class EditPoint
Object
|
+--WidgetBase
|
+--ButtonBase
|
+--EditButtonBase
|
+--EditPoint
- class
EditPoint
- extends EditButtonBase
Defined in EditPoint.js
Author: Cameron Shorter cameronATshorter.net
Constructor Summary |
EditPoint
(widgetNode, model)
When this button is selected, clicks on the MapPane will add a
new point to a model.
|
Method Summary |
Object
|
createControl(objRef)
Interactive EditPoint control.
|
Object
|
instantiateControl(objRef, Control)
|
void
|
setFeature(objRef, <OpenLayers.Feature> feature)
Add a point to the enclosing GML model.
|
EditPoint
EditPoint(widgetNode, model)
When this button is selected, clicks on the MapPane will add a
new point to a model.
Requires an enclosing GML model.
Parameters:
widgetNode
- The node from the Config XML file.
model
- The ButtonBar widget.
Author: Cameron Shorter cameronATshorter.net
createControl
Object createControl(objRef)
Interactive EditPoint 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)
Add a point to the enclosing GML model.
Parameters:
objRef
- Pointer to this object.
feature
- the feature created by OL.
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007