| Package | com.esri.aws.awx.map.layers.overlays |
| Class | public dynamic class BubbleMarker |
| Inheritance | BubbleMarker Marker OverlayObject mx.core.UIComponent |
var bm1 : BubbleMarker = new BubbleMarker();
bm1.label = "Pantheon";
bm1.geoX = 12.4768;
bm1.geoY = 41.8986;
m_map.markerLayer.addOverlay(bm1);
<awx:BubbleMarker geoY="41.8986" geoX="12.4768" label="Pantheon"/>
| Property | Defined by | ||
|---|---|---|---|
| element : UIComponent
The element object of the marker.
| BubbleMarker | ||
![]() | geoX : Number
The longitude value.
| Marker | |
![]() | geoY : Number
The latitude value.
| Marker | |
| iconURL : String
The icon displayed to the left of the label.
| BubbleMarker | ||
| label : String
The label text of the marker.
| BubbleMarker | ||
![]() | overlayStyle : IStyle
The style of the overlay object.
| OverlayObject | |
![]() | shape : IShape
The shape of the overlay object.
| OverlayObject | |
![]() | style : IStyle
DEPRECATED
| OverlayObject | |
| title : String
The title text of the marker.
| BubbleMarker | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new Bubble Marker object with the given pointShape and an optional style.
| BubbleMarker | ||
|
addChild(child:DisplayObject):DisplayObject
Adds a child to the BubbleMarker.
| BubbleMarker | ||
|
click():void
Calling click() on the marker triggers the fully expanded "click" state.
| BubbleMarker | ||
|
collapse():void
Calling collapse() on the marker causes it to collapse into its default state.
| BubbleMarker | ||
![]() |
removeAllChildren():void
Removes all children from the child list of this container.
| OverlayObject | |
|
rollOver():void
Calling rollOver() on the marker triggers the "roll over" state.
| BubbleMarker | ||
|
updateContent(ensureRefresh:Boolean = false):void
updateContent can be used to update the data content (title, label,
element) of the bubble marker in real time.
| BubbleMarker | ||
| element | property |
element:UIComponent [read-write]The element object of the marker.
Implementation public function get element():UIComponent
public function set element(value:UIComponent):void
| iconURL | property |
iconURL:String [read-write]The icon displayed to the left of the label.
Implementation public function get iconURL():String
public function set iconURL(value:String):void
| label | property |
label:String [read-write]The label text of the marker.
Implementation public function get label():String
public function set label(value:String):void
| title | property |
title:String [read-write]The title text of the marker.
Implementation public function get title():String
public function set title(value:String):void
| BubbleMarker | () | constructor |
public function BubbleMarker(pointShape:PointShape = null, style:IStyle = null)Creates a new Bubble Marker object 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 optional style. If null, then the default bubble marker style will be used.
|
| addChild | () | method |
public override function addChild(child:DisplayObject):DisplayObjectAdds a child to the BubbleMarker.
Parameterschild:DisplayObject |
DisplayObject |
| click | () | method |
public function click():voidCalling click() on the marker triggers the fully expanded "click" state.
| collapse | () | method |
public function collapse():voidCalling collapse() on the marker causes it to collapse into its default state.
| rollOver | () | method |
public function rollOver():voidCalling rollOver() on the marker triggers the "roll over" state.
| updateContent | () | method |
public function updateContent(ensureRefresh:Boolean = false):voidupdateContent can be used to update the data content (title, label, element) of the bubble marker in real time.
ParametersensureRefresh:Boolean (default = false) |