| Package | com.mapquest.tilemap.pois |
| Class | public class Poi |
| Inheritance | Poi flash.events.EventDispatcher |
| Implements | IShape |
| Method | Defined by | ||
|---|---|---|---|
|
Constructs a Poi object.
| Poi | ||
|
draw():void
Redraws this poi.
| Poi | ||
|
Returns the alt state icon of this poi.
| Poi | ||
|
getAltStateFlag():Boolean
Returns true if this poi's alt state is true, false otherwise.
| Poi | ||
|
Returns the declutter icon of this poi.
| Poi | ||
|
getDeclutterStateFlag():Boolean
Returns true if this poi's declutter state is true, false otherwise.
| Poi | ||
|
getDraggable():Boolean
Returns the current draggable status of the Poi.
| Poi | ||
| Poi | |||
|
getGlobalLeaderLineDotIcon():Boolean
[static]
| Poi | ||
|
Returns the icon of this poi.
| Poi | ||
|
getInfoContent():Object
Gets the info window content for this poi.
| Poi | ||
|
getInfoTitle():String
Gets the info window title for this poi.
| Poi | ||
|
getInfoWindowTitleText():String
| Poi | ||
|
getKey():String
Returns the key of this poi.
| Poi | ||
|
getLabel():String
Returns the label for this poi.
| Poi | ||
|
getLabelFormat():TextFormat
Returns the label style for this poi.
| Poi | ||
|
Returns the latitude/longitude coordinate of this poi.
| Poi | ||
|
getLeaderLine():Sprite
| Poi | ||
|
getLeaderLineColor():Number
Returns the current leader line color of the Poi.
| Poi | ||
|
getLeaderLineDotIcon():Sprite
| Poi | ||
|
getLeaderLineDotImageURL():String
| Poi | ||
| Poi | |||
|
getMaxInfoWindowWidth():Number
| Poi | ||
|
getMaxZoomLevel():int
| Poi | ||
|
getMinZoomLevel():int
| Poi | ||
|
getParentCollections():Array
| Poi | ||
|
getRolloverDrag():Boolean
Returns the drag status of the rollover.
| Poi | ||
|
getRolloverTimeout():int
| Poi | ||
|
getSnapback():Boolean
Returns a current snapback status of this poi when draggable.
| Poi | ||
|
isIconVisible():Boolean
Returns true if this poi icon is visible, false otherwise.
| Poi | ||
|
isLabelVisible():Boolean
Returns true if this poi label is visible, false otherwise.
| Poi | ||
|
isRolloverEnabled():Boolean
Returns true if a rollover is enabled for this poi,
false otherwise.
| Poi | ||
|
isVisible():Boolean
Returns true if this poi is visible, false otherwise.
| Poi | ||
|
setAltIcon(altMapIcon:MapIcon):void
Sets the icon of this poi.
| Poi | ||
|
setAltStateFlag(b:Boolean):void
Sets the poi's alt state flag.
| Poi | ||
|
setDeclutterIcon(mapIcon:MapIcon):void
Sets the declutter icon of this poi.
| Poi | ||
|
setDeclutterStateFlag(b:Boolean):void
Sets the poi's alt state flag.
| Poi | ||
|
setDraggable(isEnabled:Boolean):void
Sets the draggable status of the Poi.
| Poi | ||
|
setDragOffset(drag:IPointXY):void
| Poi | ||
|
setGlobalLeaderLineDotIcon(b:Boolean):void
[static]
| Poi | ||
|
Sets the icon of this poi.
| Poi | ||
|
setIconVisible(b:Boolean):void
Makes this poi icon visible or invisible.
| Poi | ||
|
setInfoContent(content:Object):void
Sets the info window content for this poi.
| Poi | ||
|
setInfoTitle(title:String):void
Sets the info window title for this poi.
| Poi | ||
|
setInfoWindowTitleBackgroundColor(bcolor:Number):void
| Poi | ||
|
setInfoWindowTitleText(content:String):void
| Poi | ||
|
setKey(key:String):void
Sets the key for this poi.
| Poi | ||
|
setLabel(label:String, frmt:TextFormat = null):void
Sets the label for this poi to the specified label string.
| Poi | ||
|
setLabelVisible(b:Boolean):void
Makes this poi label visible or invisible.
| Poi | ||
|
Sets the latitude/longitude coordinate of this poi.
| Poi | ||
|
setLeaderLine(ll:Sprite):void
| Poi | ||
|
setLeaderLineColor(c:Number):void
Sets the leaderline color of the Poi.
| Poi | ||
|
setLeaderLineDotIcon(s:Sprite, redraw:Boolean = true):void
| Poi | ||
|
setLeaderLineDotImageURL(url:String, redraw:Boolean = true):void
| Poi | ||
| Poi | |||
|
setMaxInfoWindowWidth(n:Number):void
| Poi | ||
|
setMaxZoomLevel(maxZoomLevel:int):void
| Poi | ||
|
setMinZoomLevel(minZoomLevel:int):void
| Poi | ||
|
setParentCollections(parentCollections:Array):void
| Poi | ||
|
setRolloverDrag(b:Boolean):void
Sets whether to drag the rollover with the poi.
| Poi | ||
|
setRolloverEnabled(benable:Boolean):void
Enables or disables a rollover for this poi.
| Poi | ||
|
setRolloverTimeout(i:int):void
sets the time in milliseconds that the rollover will remain after rollout (defaults to 0)
| Poi | ||
|
setRolloverWindow(rolloverWindow:RolloverWindow):void
Sets poi's rollover window
| Poi | ||
|
setSnapback(snap:Boolean):void
Sets the snapback status of the Poi.
| Poi | ||
|
setVisible(b:Boolean):void
Makes this poi visible or invisible.
| Poi | ||
|
showInfoWindow():void
Displays map's info window at this location, populated with content for this Poi
| Poi | ||
|
showRolloverWindow(e:Event):void
Displays map's rollover window at this location, populated with content for this MQPoi
| Poi | ||
| x | property |
x:int [read-write]Implementation
public function get x():int
public function set x(value:int):void
| y | property |
y:int [read-write]Implementation
public function get y():int
public function set y(value:int):void
| Poi | () | constructor |
public function Poi(latLng:IPointLL, mapIcon:MapIcon = null)Constructs a Poi object.
ParameterslatLng:IPointLL — specifying the location of
the point on the map.
|
|
mapIcon:MapIcon (default = null) — specified the icon that represents
this poi else a default icon will be used.
|
| draw | () | method |
public function draw():voidRedraws this poi.
| getAltIcon | () | method |
public function getAltIcon():MapIconReturns the alt state icon of this poi.
ReturnsMapIcon |
See also
| getAltStateFlag | () | method |
public function getAltStateFlag():BooleanReturns true if this poi's alt state is true, false otherwise.
ReturnsBoolean |
See also
| getDeclutterIcon | () | method |
public function getDeclutterIcon():MapIconReturns the declutter icon of this poi.
ReturnsMapIcon |
See also
| getDeclutterStateFlag | () | method |
public function getDeclutterStateFlag():BooleanReturns true if this poi's declutter state is true, false otherwise.
ReturnsBoolean |
See also
| getDraggable | () | method |
public function getDraggable():BooleanReturns the current draggable status of the Poi.
ReturnsBoolean |
| getDragOffset | () | method |
| getGlobalLeaderLineDotIcon | () | method |
public static function getGlobalLeaderLineDotIcon():Boolean
Returns
Boolean |
| getIcon | () | method |
| getInfoContent | () | method |
public function getInfoContent():ObjectGets the info window content for this poi.
ReturnsObject |
| getInfoTitle | () | method |
public function getInfoTitle():StringGets the info window title for this poi.
ReturnsString |
| getInfoWindowTitleText | () | method |
public function getInfoWindowTitleText():String
Returns
String |
| getKey | () | method |
| getLabel | () | method |
| getLabelFormat | () | method |
public function getLabelFormat():TextFormatReturns the label style for this poi.
ReturnsTextFormat |
| getLatLng | () | method |
public function getLatLng():IPointLLReturns the latitude/longitude coordinate of this poi.
ReturnsIPointLL |
See also
| getLeaderLine | () | method |
public function getLeaderLine():Sprite
Returns
Sprite |
| getLeaderLineColor | () | method |
public function getLeaderLineColor():NumberReturns the current leader line color of the Poi.
ReturnsNumber |
| getLeaderLineDotIcon | () | method |
public function getLeaderLineDotIcon():Sprite
Returns
Sprite |
| getLeaderLineDotImageURL | () | method |
public function getLeaderLineDotImageURL():String
Returns
String |
| getMap | () | method |
| getMaxInfoWindowWidth | () | method |
public function getMaxInfoWindowWidth():Number
Returns
Number |
| getMaxZoomLevel | () | method |
public function getMaxZoomLevel():int
Returns
int |
| getMinZoomLevel | () | method |
public function getMinZoomLevel():int
Returns
int |
| getParentCollections | () | method |
public function getParentCollections():Array
Returns
Array |
| getRolloverDrag | () | method |
public function getRolloverDrag():BooleanReturns the drag status of the rollover.
ReturnsBoolean |
See also
| getRolloverTimeout | () | method |
public function getRolloverTimeout():int
Returns
int |
| getSnapback | () | method |
public function getSnapback():BooleanReturns a current snapback status of this poi when draggable.
ReturnsBoolean |
| isIconVisible | () | method |
public function isIconVisible():BooleanReturns true if this poi icon is visible, false otherwise.
ReturnsBoolean |
See also
| isLabelVisible | () | method |
public function isLabelVisible():BooleanReturns true if this poi label is visible, false otherwise.
ReturnsBoolean |
See also
| isRolloverEnabled | () | method |
public function isRolloverEnabled():BooleanReturns true if a rollover is enabled for this poi, false otherwise.
ReturnsBoolean |
See also
| isVisible | () | method |
public function isVisible():BooleanReturns true if this poi is visible, false otherwise.
ReturnsBoolean |
See also
| setAltIcon | () | method |
public function setAltIcon(altMapIcon:MapIcon):voidSets the icon of this poi. The poi is refreshed on the map.
ParametersaltMapIcon:MapIcon — The new icon for this poi.
|
See also
| setAltStateFlag | () | method |
public function setAltStateFlag(b:Boolean):voidSets the poi's alt state flag.
Parametersb:Boolean — b true to make the alt icon visible, false to make primary icon visible.
|
See also
| setDeclutterIcon | () | method |
public function setDeclutterIcon(mapIcon:MapIcon):voidSets the declutter icon of this poi.
ParametersmapIcon:MapIcon — new declutter icon for this poi.
|
See also
| setDeclutterStateFlag | () | method |
public function setDeclutterStateFlag(b:Boolean):voidSets the poi's alt state flag.
Parametersb:Boolean — b true to make the declutter icon visible, false to make primary icon visible.
|
See also
| setDraggable | () | method |
public function setDraggable(isEnabled:Boolean):voidSets the draggable status of the Poi.
ParametersisEnabled:Boolean — the draggable state is enabled.
|
See also
| setDragOffset | () | method |
| setGlobalLeaderLineDotIcon | () | method |
public static function setGlobalLeaderLineDotIcon(b:Boolean):voidParameters
b:Boolean |
| setIcon | () | method |
public function setIcon(mapIcon:MapIcon):voidSets the icon of this poi. The poi is refreshed on the map.
ParametersmapIcon:MapIcon — new icon for this poi.
|
See also
| setIconVisible | () | method |
public function setIconVisible(b:Boolean):voidMakes this poi icon visible or invisible.
Parametersb:Boolean — b true to make icon visible; false to make invisible.
|
See also
| setInfoContent | () | method |
public function setInfoContent(content:Object):voidSets the info window content for this poi.
Parameterscontent:Object — content An HTML string for the info window content.
|
| setInfoTitle | () | method |
public function setInfoTitle(title:String):voidSets the info window title for this poi.
Parameterstitle:String — title A string for the info window title.
|
| setInfoWindowTitleBackgroundColor | () | method |
public function setInfoWindowTitleBackgroundColor(bcolor:Number):voidParameters
bcolor:Number |
| setInfoWindowTitleText | () | method |
public function setInfoWindowTitleText(content:String):voidParameters
content:String |
| setKey | () | method |
public function setKey(key:String):voidSets the key for this poi. The key is a string identifier for use by the developer.
Parameterskey:String — key The new key for this poi.
|
See also
| setLabel | () | method |
public function setLabel(label:String, frmt:TextFormat = null):voidSets the label for this poi to the specified label string.
Parameterslabel:String — new label string.
|
|
frmt:TextFormat (default = null) — Textformat to usef for the label.
|
See also
| setLabelVisible | () | method |
public function setLabelVisible(b:Boolean):voidMakes this poi label visible or invisible.
Parametersb:Boolean — b true to make label visible; false to make invisible.
|
See also
| setLatLng | () | method |
public function setLatLng(mqLatLng:IPointLL):voidSets the latitude/longitude coordinate of this poi. The poi is refreshed on the map.
ParametersmqLatLng:IPointLL — LatLng The new latitude/longitude coordinate of this
poi.
|
See also
| setLeaderLine | () | method |
public function setLeaderLine(ll:Sprite):voidParameters
ll:Sprite |
| setLeaderLineColor | () | method |
public function setLeaderLineColor(c:Number):voidSets the leaderline color of the Poi.
Parametersc:Number — value of the color to use for this poi's leaderline..
|
See also
| setLeaderLineDotIcon | () | method |
public function setLeaderLineDotIcon(s:Sprite, redraw:Boolean = true):voidParameters
s:Sprite |
|
redraw:Boolean (default = true) |
| setLeaderLineDotImageURL | () | method |
public function setLeaderLineDotImageURL(url:String, redraw:Boolean = true):voidParameters
url:String |
|
redraw:Boolean (default = true) |
| setMap | () | method |
| setMaxInfoWindowWidth | () | method |
public function setMaxInfoWindowWidth(n:Number):voidParameters
n:Number |
| setMaxZoomLevel | () | method |
public function setMaxZoomLevel(maxZoomLevel:int):voidParameters
maxZoomLevel:int |
| setMinZoomLevel | () | method |
public function setMinZoomLevel(minZoomLevel:int):voidParameters
minZoomLevel:int |
| setParentCollections | () | method |
public function setParentCollections(parentCollections:Array):voidParameters
parentCollections:Array |
| setRolloverDrag | () | method |
public function setRolloverDrag(b:Boolean):voidSets whether to drag the rollover with the poi. Default is true.
Parametersb:Boolean — b True to include the rollover with the poi drag, false otherwise..
|
See also
| setRolloverEnabled | () | method |
public function setRolloverEnabled(benable:Boolean):voidEnables or disables a rollover for this poi.
Parametersbenable:Boolean — benable true to enable rollover; false to disable rollover.
|
See also
| setRolloverTimeout | () | method |
public function setRolloverTimeout(i:int):voidsets the time in milliseconds that the rollover will remain after rollout (defaults to 0)
Parametersi:int |
| setRolloverWindow | () | method |
public function setRolloverWindow(rolloverWindow:RolloverWindow):voidSets poi's rollover window
ParametersrolloverWindow:RolloverWindow |
| setSnapback | () | method |
public function setSnapback(snap:Boolean):voidSets the snapback status of the Poi.
Parameterssnap:Boolean — snapback - Whether the draggable state is enabled.
|
See also
| setVisible | () | method |
public function setVisible(b:Boolean):voidMakes this poi visible or invisible.
Parametersb:Boolean — b true to make visible; false to make invisible.
|
See also
| showInfoWindow | () | method |
public function showInfoWindow():voidDisplays map's info window at this location, populated with content for this Poi
| showRolloverWindow | () | method |
public function showRolloverWindow(e:Event):voidDisplays map's rollover window at this location, populated with content for this MQPoi
Parameterse:Event |