OpenLayers. Control. DrawFeature

The DrawFeature control draws point, line or polygon features on a vector layer when active.

Inherits from

Summary
OpenLayers. Control. DrawFeatureThe DrawFeature control draws point, line or polygon features on a vector layer when active.
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

Constants

EVENT_TYPES

Supported event types

featureaddedTriggered when a feature is added

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

Parameters

layer{OpenLayers.Layer.Vector}
handler{OpenLayers.Handler}
options{Object}
Controls affect the display or behavior of the map.
Instances of OpenLayers.Layer.Vector are used to render vector data from a variety of sources.
Base class to construct a higher-level handler for event sequences.
Close