GeoPrisma logo

EditFeature_Delete

Widget that enables the possibility to delete existing features on vector layers of 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_delete>
  <name>W_MyEditFeature_Delete</name>
  <options>
    <featurecontroloptions>
      <multiple>true</multiple>
      <box>true</box>
    </featurecontroloptions>
  </options>
</editfeature_delete>

XML Sample - widget added to a toolbar

The EditFeature_Delete widget must be added to a GeoExtToolbar widget

<geoexttoolbar>
  <name>GeoExtToolbar</name>
  <options>
    <widgets>
      <widget>W_MyEditFeature_Delete</widget>
    </widgets>
  </options>
</geoexttoolbar>

Mandatory Options

Optional Options

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

delete

Table Of Contents

Previous topic

EditFeature_Create

Next topic

EditFeature

This Page