OpenLayers JavaScript Mapping Library |
OpenLayers. Control. ModifyFeatureControl to modify features. When activated, a click renders the vertices of a feature - these vertices can then be dragged. By default, the delete key will delete the vertex under the mouse. New features are added by dragging “virtual vertices” between vertices. Create a new control with the OpenLayers.Control.ModifyFeature constructor. Inherits FromSummary
OpenLayers. Control. ModifyFeatureCreate a new modify feature control. Parameters
|
Take care of things that are not handled in superclass.
destroy: function()
Activate the control and the feature handler.
activate: function()
Deactivate the controls.
deactivate: function()