Draws features on a vector layer when active.
OpenLayers. Control. DrawFeature | Draws features on a vector layer when active. |
Properties | |
layer | {OpenLayers.Layer.Vector} |
callbacks | {Object} The functions that are sent to the handler for callback |
Constants | |
EVENT_TYPES | |
Properties | |
featureAdded | {Function} Called after each feature is added |
handlerOptions | {Object} Used to set non-default properties on the control’s handler |
Constructor | |
OpenLayers. Control. DrawFeature | |
Functions | |
drawFeature |
layer | {OpenLayers.Layer.Vector} |
handler | {OpenLayers.Handler} |
options | {Object} |
drawFeature: function( geometry )