DeleteFeature.js | |
Properties | |
geometryTypes | {Array(String)} To restrict remove to a limited set of geometry types, send a list of strings corresponding to the geometry class names. |
onDone | {Function} TBD add comment here |
layer | {OpenLayers.Layer.Vector} |
feature | {OpenLayers.Feature.Vector} |
selectControl | {<OpenLayers.Control.Select>} |
featureHandler | {OpenLayers.Handler.Keyboard} |
Constructor | |
OpenLayers. | Create a new control to drag features. |
Functions | |
destroy | Take care of things that are not handled in superclass |
activate | Activate the control and the feature handler. |
deactivate | Deactivate the control and all handlers. |
onSelect | Called when the select feature control selects a feature. |
onUnselect | Called when the select feature control unselects a feature. |
defaultKeyPress | |
remove | Removes currently selected feature |
setMap | Set the map property for the control and all handlers. |
Take care of things that are not handled in superclass
destroy: function()
Activate the control and the feature handler.
activate: function()
Deactivate the control and all handlers.
deactivate: function()
Called when the select feature control selects a feature.
onSelect: function( feature )
Called when the select feature control unselects a feature.
onUnselect: function( feature )
defaultKeyPress: function ( code )
Removes currently selected feature
remove: function( feature )
Set the map property for the control and all handlers.
setMap: function( map )