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