Widget that enables the modification of geometry and/or attributes of existing features on vector layers on the map.
This widget can’t be drawn with the drawWidget template. Instead, it must be added to the GeoExtToolbar widget.
See also
Sample configuration
<editfeature_update>
<name>W_MyEditFeature_Update</name>
<options>
<editgeom>true</editgeom>
<featurepanel>W_MyFeaturePanelForm</featurepanel>
</options>
</editfeature_update>
The EditFeature_Update widget must be added to a GeoExtToolbar widget
<geoexttoolbar>
<name>GeoExtToolbar</name>
<options>
<widgets>
<widget>W_MyEditFeature_Update</widget>
</widgets>
</options>
</geoexttoolbar>
| editgeom: | Boolean. Default value is ‘false’. Enable the geometry edition if set to ‘true’. |
|---|---|
| featurepanel: | The name of the featurepanel widget (of any kind) to display to edit the attributes (fields) of features. If none was provided, then the attributes can’t be edited. |
| featurecontroloptions: | |
| The options for the OpenLayers control to be created. Can have any <OpenLayers property>value</OpenLayers property> tag of the corresponding Control created, i.e. SelectFeature (editgeom: false) or ModifyFeature (editgeom: true). | |
| text: | The text to display for the item menu of the toolbar. You can also define a text node in the datastore params instead. |
featureserver
update