Packagecom.esri.aws.awx.map.layers.overlays
Classpublic dynamic class OverlayObject
InheritanceOverlayObject Inheritance mx.core.UIComponent
SubclassesCircle, Marker, Polygon, Polyline

OverlayObjects are visual elements (circle, marker, polygon, polyline) that will be drawn on top of the base layers.

Default MXML Propertyshape



Public Properties
 PropertyDefined by
  overlayStyle : IStyle
The style of the overlay object.
OverlayObject
  shape : IShape
The shape of the overlay object.
OverlayObject
  style : IStyle
DEPRECATED
OverlayObject
Public Methods
 MethodDefined by
  
OverlayObject(shape:IShape, style:IStyle = null)
Creates a new Overlay object with the given shape and an optional style.
OverlayObject
  
Removes all children from the child list of this container.
OverlayObject
Property detail
overlayStyleproperty
overlayStyle:IStyle  [read-write]

The style of the overlay object.

Implementation
    public function get overlayStyle():IStyle
    public function set overlayStyle(value:IStyle):void
shapeproperty 
shape:IShape  [read-write]

The shape of the overlay object.

Implementation
    public function get shape():IShape
    public function set shape(value:IShape):void
styleproperty 
style:IStyle  [read-write]

DEPRECATED

Implementation
    public function get style():IStyle
    public function set style(value:IStyle):void

See also

Constructor detail
OverlayObject()constructor
public function OverlayObject(shape:IShape, style:IStyle = null)

Creates a new Overlay object with the given shape and an optional style.

Parameters
shape:IShape — the geometry of the overlay object.
 
style:IStyle (default = null) — optional parameter defining how the overlay will be drawn on the map.
Method detail
onStyleChange()method
awx_internal function onStyleChange():void

Cleans up previous style.

removeAllChildren()method 
public function removeAllChildren():void

Removes all children from the child list of this container.