Use the OpenLayers.Control.ModifyFeature control to allow dragging vector features on the map on a specific resource.
Note
Must be added to a GeoExtToolbar widget.
Sample configuration of the widget :
<editfeature_drag>
<name>W_MyEditFeature_Drag</name>
<options>
<toggleEdit>true</toggleEdit>
</options>
</editfeature_drag>
N/A
toggleEdit: | (Boolean) Defaults to false. Only usable if an EditFeature_Update widget is linked to the same resource of this widget. If set to true, on feature drag complete, won’t commit the changes. Delegate the feature to the update control instead. |
---|
featureserver
update