Packagecom.esri.aws.awx.map.layers.overlays
Classpublic dynamic class Marker
InheritanceMarker Inheritance OverlayObject Inheritance mx.core.UIComponent
SubclassesBubbleMarker

Marker is an overlay object drawn in a specific style at a specific location.


Example
Sample ActionScript usage of Marker:
     var m1 : Marker = new Marker();
     m1.geoX = 37.229;
     m1.geoY = -3.107;
     m1.toolTip = "Mount Kilimanjaro";
     m_map.markerLayer.addOverlay(m1);
     

Sample MXML usage of Marker:
     <awx:Marker geoY="-3.107" geoX="37.229" tooltip="Mount Kilimanjaro"/>
     

See also

Live Sample - Add Marker - Flex API
Live Sample - Add Marker - JavaScript to Flex Bridge
UIComponent


Public Properties
 PropertyDefined by
  geoX : Number
The longitude value.
Marker
  geoY : Number
The latitude value.
Marker
 InheritedoverlayStyle : IStyle
The style of the overlay object.
OverlayObject
 Inheritedshape : IShape
The shape of the overlay object.
OverlayObject
 Inheritedstyle : IStyle
DEPRECATED
OverlayObject
Public Methods
 MethodDefined by
  
Marker(pointShape:PointShape = null, style:IStyle = null)
Creates a new Marker with the given pointShape and an optional style.
Marker
 Inherited
Removes all children from the child list of this container.
OverlayObject
Property detail
geoXproperty
public var geoX:Number

The longitude value.

geoYproperty 
public var geoY:Number

The latitude value.

Constructor detail
Marker()constructor
public function Marker(pointShape:PointShape = null, style:IStyle = null)

Creates a new Marker with the given pointShape and an optional style.

Parameters
pointShape:PointShape (default = null) — The PointShape instance. If null, then a PointShape instance will be used.
 
style:IStyle (default = null) — The style used to render the Marker.