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

A bubble marker is an overlay object to represent a location on the map to be drawn in a specific style, and with specific content.


Example
Sample ActionScript usage of BubbleMarker:
     var bm1 : BubbleMarker = new BubbleMarker();
     bm1.label = "Pantheon";
     bm1.geoX = 12.4768;
     bm1.geoY = 41.8986;
     m_map.markerLayer.addOverlay(bm1);
     

Sample MXML usage of BubbleMarker:
     <awx:BubbleMarker geoY="41.8986" geoX="12.4768" label="Pantheon"/>
     



Public Properties
 PropertyDefined by
  element : UIComponent
The element object of the marker.
BubbleMarker
 InheritedgeoX : Number
The longitude value.
Marker
 InheritedgeoY : 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
 InheritedoverlayStyle : IStyle
The style of the overlay object.
OverlayObject
 Inheritedshape : IShape
The shape of the overlay object.
OverlayObject
 Inheritedstyle : IStyle
DEPRECATED
OverlayObject
  title : String
The title text of the marker.
BubbleMarker
Public Methods
 MethodDefined by
  
BubbleMarker(pointShape:PointShape = null, style:IStyle = null)
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
 Inherited
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
Property detail
elementproperty
element:UIComponent  [read-write]

The element object of the marker.

Implementation
    public function get element():UIComponent
    public function set element(value:UIComponent):void
iconURLproperty 
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
labelproperty 
label:String  [read-write]

The label text of the marker.

Implementation
    public function get label():String
    public function set label(value:String):void
titleproperty 
title:String  [read-write]

The title text of the marker.

Implementation
    public function get title():String
    public function set title(value:String):void
Constructor detail
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.

Parameters
pointShape: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.
Method detail
addChild()method
public override function addChild(child:DisplayObject):DisplayObject

Adds a child to the BubbleMarker.

Parameters
child:DisplayObject

Returns
DisplayObject
click()method 
public function click():void

Calling click() on the marker triggers the fully expanded "click" state.

collapse()method 
public function collapse():void

Calling collapse() on the marker causes it to collapse into its default state.

rollOver()method 
public function rollOver():void

Calling rollOver() on the marker triggers the "roll over" state.

updateContent()method 
public function updateContent(ensureRefresh:Boolean = false):void

updateContent can be used to update the data content (title, label, element) of the bubble marker in real time.

Parameters
ensureRefresh:Boolean (default = false)