GeoPrisma logo

EditFeature_Update

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

EditFeature

XML Sample

Sample configuration

<editfeature_update>
  <name>W_MyEditFeature_Update</name>
  <options>
    <editgeom>true</editgeom>
    <featurepanel>W_MyFeaturePanelForm</featurepanel>
  </options>
</editfeature_update>

XML Sample - widget added to a toolbar

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>

Mandatory Options

Optional Options

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.

Service Type

featureserver

Widget Action

update

Table Of Contents

Previous topic

Toolbar (deprecated)

Next topic

WMSLayerAdder

This Page