Packageorg.openscales.core.handler.feature.draw
Classpublic class AbstractDrawHandler
InheritanceAbstractDrawHandler Inheritance Handler
SubclassesDrawMultiHandler, DrawPathHandler, DrawPointHandler, DrawPolygonHandler

Handler base class for Drawing Handler



Public Properties
 PropertyDefined by
 Inheritedactive : Boolean
Getter and setter of the boolean defining the activity of the handler
Handler
  drawLayer : FeatureLayer
The layer concerned by the drawing Operation
AbstractDrawHandler
  map : Map
[write-only]
AbstractDrawHandler
 InheritedtoggleHandlerActivity : Function
Getter and setter of the callback function used when the handler's activity changes
Handler
Public Methods
 MethodDefined by
  
AbstractDrawHandler(map:Map = null, active:Boolean = false, drawLayer:FeatureLayer = null)
Constructor
AbstractDrawHandler
Protected Methods
 MethodDefined by
 Inherited
Add the listeners to the associated map
Handler
 Inherited
Remove the listeners to the associated map
Handler
Property detail
drawLayerproperty
drawLayer:FeatureLayer  [read-write]

The layer concerned by the drawing Operation

Implementation
    public function get drawLayer():FeatureLayer
    public function set drawLayer(value:FeatureLayer):void
mapproperty 
map:Map  [write-only]Implementation
    public function set map(value:Map):void
Constructor detail
AbstractDrawHandler()constructor
public function AbstractDrawHandler(map:Map = null, active:Boolean = false, drawLayer:FeatureLayer = null)

Constructor

Parameters
map:Map (default = null) — Map Object
 
active:Boolean (default = false) — for handler activation
 
drawLayer:FeatureLayer (default = null) — the layer concerned by the drawing operation Abstract class never use this constructor