olc:DrawFeature

Draws point, line or polygon features on a vector layer.

Inherits from

See also

  • olc namespace
  • <OpenLayers.Control.DrawFeature>
  • <lc:DrawFeature>
  • <lc:DrawPoint>
  • <lc:DrawLineString>
  • <lc:DrawPolygon>
  • <lc:DrawBox>
  • <lc:ModifyFeature>
  • <lc:ModifyPoint>
  • <lc:ModifyLineString>
  • <lc:ModifyPolygon>
Summary
olc:DrawFeatureDraws point, line or polygon features on a vector layer.
Configurable Properties
layer{oll:Vector}
handler{Function}
featureAdded{Function} Called after the feature is added
handlerOptions{Object} Used to set non-default properties on the control’s handler

Configurable Properties

layer

handler

{Function}

featureAdded

{Function} Called after the feature is added

handlerOptions

{Object} Used to set non-default properties on the control’s handler

Used to render vector data from a variety of sources.
Abstract base component for OpenLayers Controls.