| Package | com.esri.aws.awx.map.layers.overlays |
| Class | public dynamic class Marker |
| Inheritance | Marker OverlayObject mx.core.UIComponent |
| Subclasses | BubbleMarker |
var m1 : Marker = new Marker();
m1.geoX = 37.229;
m1.geoY = -3.107;
m1.toolTip = "Mount Kilimanjaro";
m_map.markerLayer.addOverlay(m1);
<awx:Marker geoY="-3.107" geoX="37.229" tooltip="Mount Kilimanjaro"/>
See also
| Property | Defined by | ||
|---|---|---|---|
| geoX : Number
The longitude value.
| Marker | ||
| geoY : Number
The latitude value.
| Marker | ||
![]() | overlayStyle : IStyle
The style of the overlay object.
| OverlayObject | |
![]() | shape : IShape
The shape of the overlay object.
| OverlayObject | |
![]() | style : IStyle
DEPRECATED
| OverlayObject | |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new Marker with the given pointShape and an optional style.
| Marker | ||
![]() |
removeAllChildren():void
Removes all children from the child list of this container.
| OverlayObject | |
| geoX | property |
public var geoX:NumberThe longitude value.
| geoY | property |
public var geoY:NumberThe latitude value.
| Marker | () | constructor |
public function Marker(pointShape:PointShape = null, style:IStyle = null)Creates a new Marker with the given pointShape and an optional style.
ParameterspointShape: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.
|