| Package | com.mapquest.tilemap.pois |
| Class | public class Declutter |
| Inheritance | Declutter flash.display.Sprite |
| Property | Defined by | ||
|---|---|---|---|
| DOT_CIRCLE : Number = 1 [static]
| Declutter | ||
| DOT_IMAGE : Number = 2 [static]
| Declutter | ||
| DOT_NONE : Number = 0 [static]
| Declutter | ||
| MODE_LINE : Number = 2 [static]
| Declutter | ||
| MODE_NONE : Number = 0 [static]
| Declutter | ||
| MODE_STACK : Number = 1 [static]
| Declutter | ||
| Method | Defined by | ||
|---|---|---|---|
| Declutter | |||
|
drawLeaderLine(poi:Poi):void
Draws a leader line from the decluttered POI to the original Lat/Lng.
| Declutter | ||
|
getDeclutterIcon():DeclutterIcon
Returns the declutter icon for this map.
| Declutter | ||
|
getDeclutterMode():int
Returns the declutter mode for this map.
| Declutter | ||
|
getLeaderLineColor():Number
Returns the color of the declutter mode 2 leader line.
| Declutter | ||
|
getLeaderLineDeclutterDotIcon():Sprite
| Declutter | ||
|
getLeaderLineDeclutterDotImageURL():String
| Declutter | ||
|
getLeaderLineDotMode():Number
Returns the leader line to end with
0 - no dot (or image)
1 - a reference dot (Default)
2 - or an image
| Declutter | ||
|
getNextPageIcon():DeclutterIcon
Returns the next page declutter icon for this map.
| Declutter | ||
|
getPOIDims():void
Declutter mode 2 functions start
| Declutter | ||
|
getPOIDims():void
Stores the POI x,y coordinates and dimension of all POIs in poiCollection variable
| Declutter | ||
|
getPrevPageIcon():DeclutterIcon
Returns the prev page declutter icon for this map.
| Declutter | ||
|
getRolloverDrag():Boolean
Returns the drag status of rollovers.
| Declutter | ||
|
getStackHeight():int
Returns the stack height setting of the MQDeclutter object.
| Declutter | ||
|
getStackWidth():int
Returns the stack width setting of the MQDeclutter object.
| Declutter | ||
|
setDeclutterIcon(icon:Object, width:int, height:int):void
Sets the declutter icon to use for this map.
| Declutter | ||
|
setDeclutterMode(declutterMode:int):void
Sets the declutter mode for this map.
| Declutter | ||
|
setLeaderLineColor(c:Number):void
Sets the color of the declutter mode 2 leader line.
| Declutter | ||
|
setLeaderLineDeclutterDotIcon(s:Sprite):void
| Declutter | ||
|
setLeaderLineDeclutterDotImageURL(url:String):void
| Declutter | ||
|
setLeaderLineDotMode(b:Number):void
Specifies the leader line to end with
0 - no dot (or image)
1 - a reference dot (Default)
2 - or an image
| Declutter | ||
|
setNextPageIcon(icon:Object, width:int, height:int):void
Sets the next page declutter icon to use for this map.
| Declutter | ||
|
setPrevPageIcon(icon:Object, width:int, height:int):void
Sets the prev page declutter icon to use for this map.
| Declutter | ||
|
setRolloverDrag(b:Boolean):void
Sets whether to drag the rollover with the poi.
| Declutter | ||
|
setStackHeight(n:int):void
Sets the height (in icons) of the decluttered poi grouping.
| Declutter | ||
|
setStackWidth(n:int):void
Sets the width (in icons) of the decluttered poi grouping.
| Declutter | ||
|
update():void
| Declutter | ||
| DOT_CIRCLE | property |
public static var DOT_CIRCLE:Number = 1
| DOT_IMAGE | property |
public static var DOT_IMAGE:Number = 2
| DOT_NONE | property |
public static var DOT_NONE:Number = 0
| MODE_LINE | property |
public static var MODE_LINE:Number = 2
| MODE_NONE | property |
public static var MODE_NONE:Number = 0
| MODE_STACK | property |
public static var MODE_STACK:Number = 1
| Declutter | () | constructor |
| drawLeaderLine | () | method |
public function drawLeaderLine(poi:Poi):voidDraws a leader line from the decluttered POI to the original Lat/Lng. Takes a poi as a parameter.
Parameterspoi:Poi |
| getDeclutterIcon | () | method |
public function getDeclutterIcon():DeclutterIconReturns the declutter icon for this map.
ReturnsDeclutterIcon |
See also
| getDeclutterMode | () | method |
public function getDeclutterMode():intReturns the declutter mode for this map.
Returnsint |
See also
| getLeaderLineColor | () | method |
public function getLeaderLineColor():NumberReturns the color of the declutter mode 2 leader line.
ReturnsNumber |
See also
| getLeaderLineDeclutterDotIcon | () | method |
public function getLeaderLineDeclutterDotIcon():Sprite
Returns
Sprite |
| getLeaderLineDeclutterDotImageURL | () | method |
public function getLeaderLineDeclutterDotImageURL():String
Returns
String |
| getLeaderLineDotMode | () | method |
public function getLeaderLineDotMode():NumberReturns the leader line to end with 0 - no dot (or image) 1 - a reference dot (Default) 2 - or an image
ReturnsNumber |
See also
| getNextPageIcon | () | method |
public function getNextPageIcon():DeclutterIconReturns the next page declutter icon for this map.
ReturnsDeclutterIcon |
See also
| getPOIDims | () | method |
public function getPOIDims():voidDeclutter mode 2 functions start
| getPOIDims | () | method |
public function getPOIDims():voidStores the POI x,y coordinates and dimension of all POIs in poiCollection variable
| getPrevPageIcon | () | method |
public function getPrevPageIcon():DeclutterIconReturns the prev page declutter icon for this map.
ReturnsDeclutterIcon |
See also
| getRolloverDrag | () | method |
public function getRolloverDrag():BooleanReturns the drag status of rollovers.
ReturnsBoolean |
See also
| getStackHeight | () | method |
public function getStackHeight():intReturns the stack height setting of the MQDeclutter object.
Returnsint |
See also
| getStackWidth | () | method |
public function getStackWidth():intReturns the stack width setting of the MQDeclutter object.
Returnsint |
See also
| setDeclutterIcon | () | method |
public function setDeclutterIcon(icon:Object, width:int, height:int):voidSets the declutter icon to use for this map.
Parametersicon:Object — to image or actual display object.
|
|
width:int — width size of the prev page declutter image in pixels.
|
|
height:int — The height size of the prev page declutter image in pixels.
|
See also
| setDeclutterMode | () | method |
public function setDeclutterMode(declutterMode:int):voidSets the declutter mode for this map.
ParametersdeclutterMode:int — declutter mode to set.
0 = no declutter
1 = stack decluttering
2 = leader-line declutter
|
See also
| setLeaderLineColor | () | method |
public function setLeaderLineColor(c:Number):voidSets the color of the declutter mode 2 leader line. Default is 0x000000.
Parametersc:Number — value of the leaderline color.
|
See also
| setLeaderLineDeclutterDotIcon | () | method |
public function setLeaderLineDeclutterDotIcon(s:Sprite):voidParameters
s:Sprite |
| setLeaderLineDeclutterDotImageURL | () | method |
public function setLeaderLineDeclutterDotImageURL(url:String):voidParameters
url:String |
| setLeaderLineDotMode | () | method |
public function setLeaderLineDotMode(b:Number):voidSpecifies the leader line to end with 0 - no dot (or image) 1 - a reference dot (Default) 2 - or an image
Parametersb:Number — b Leader line ends with no dot,a dot,or an image
|
See also
| setNextPageIcon | () | method |
public function setNextPageIcon(icon:Object, width:int, height:int):voidSets the next page declutter icon to use for this map.
Parametersicon:Object — to image or actual display object.
|
|
width:int — width size of the prev page declutter image in pixels.
|
|
height:int — The height size of the prev page declutter image in pixels.
|
See also
| setPrevPageIcon | () | method |
public function setPrevPageIcon(icon:Object, width:int, height:int):voidSets the prev page declutter icon to use for this map.
Parametersicon:Object — to image or actual display object.
|
|
width:int — width size of the prev page declutter image in pixels.
|
|
height:int — The height size of the prev page declutter image in pixels.
|
See also
| 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
| setStackHeight | () | method |
public function setStackHeight(n:int):voidSets the height (in icons) of the decluttered poi grouping. Default is 2.Minimum is 1.
Parametersn:int — n The height of the decluttered poi grouping.
|
See also
| setStackWidth | () | method |
public function setStackWidth(n:int):voidSets the width (in icons) of the decluttered poi grouping. Default is 5. Minimum is 2.
Parametersn:int — n The width of the decluttered poi grouping.
|
See also
| update | () | method |
public function update():void