MapQuest Advantage TileMap Toolkit Reference Documentation

Class MQDeclutter

Object
   |
   +--MQDeclutter

class MQDeclutter


The MQDeclutter object controls how the poi declutter functionality operates. A default MQDeclutter object gets created automatically with each tilemap and is accessed via the getDeclutter() method of the MQTileMap object.
Defined in mqdeclutter.js


Field Summary
 Object cpCollection
          
 Object leaderLineDotImage
          
 Object leaderLineDotMode
          
 
Constructor Summary
MQDeclutter (map)
            Constructs a MQDeclutter object.
 
Method Summary
 Object getDeclutterIcon()
           Returns the declutter icon for this map.
 Object getDeclutterMode()
           Returns the declutter mode for this map.
 Object getLeaderLineColor()
           Returns the color of the declutter mode 2 leader line.
 Object getLeaderLineDotImage()
           Returns the leader line dot image.
 Object getLeaderLineDotMode()
           Returns the draw status of the leader line reference dot.
 Object getNextPageIcon()
           Returns the next page declutter icon for this map.
 Object getPrevPageIcon()
           Returns the prev page declutter icon for this map.
 Object getRolloverDrag()
           Returns the drag status of rollovers.
 Object getStackHeight()
           Returns the stack height setting of the MQDeclutter object.
 Object getStackWidth()
           Returns the stack width setting of the MQDeclutter object.
 void setDeclutterIcon(<string> url, <int> width, <int> height)
           Sets the declutter icon to use for this map.
 void setDeclutterMode(<int> declutterMode)
           Sets the declutter mode for this map.
 void setDeclutterOverIcon(<string> url, <int> width, <int> height)
           Sets the declutter icon to use for this map.
 void setLeaderLineColor(<string> c)
           Sets the color of the declutter mode 2 leader line.
 void setLeaderLineDotImage(<string> url, <int> width, <int> height)
           Sets the leader line dot image.
 void setLeaderLineDotMode(<int> m)
           Specifies how to draw the leader line reference dot.
 void setNextPageIcon(<string> url, <int> width, <int> height)
           Sets the next page declutter icon to use for this map.
 void setPrevPageIcon(<string> url, <int> width, <int> height)
           Sets the prev page declutter icon to use for this map.
 void setRolloverDrag(<boolean> b)
           Sets whether to drag the rollover with the poi.
 void setStackHeight(<int> n)
           Sets the height (in icons) of the decluttered poi grouping.
 void setStackWidth(<int> n)
           Sets the width (in icons) of the decluttered poi grouping.

Field Detail

cpCollection

Object cpCollection

leaderLineDotImage

Object leaderLineDotImage

leaderLineDotMode

Object leaderLineDotMode

Constructor Detail

MQDeclutter

MQDeclutter(map)

Method Detail

getDeclutterIcon

Object getDeclutterIcon()

getDeclutterMode

Object getDeclutterMode()

getLeaderLineColor

Object getLeaderLineColor()

getLeaderLineDotImage

Object getLeaderLineDotImage()

getLeaderLineDotMode

Object getLeaderLineDotMode()

getNextPageIcon

Object getNextPageIcon()

getPrevPageIcon

Object getPrevPageIcon()

getRolloverDrag

Object getRolloverDrag()

getStackHeight

Object getStackHeight()

getStackWidth

Object getStackWidth()

setDeclutterIcon

void setDeclutterIcon(<string> url, <int> width, <int> height)

setDeclutterMode

void setDeclutterMode(<int> declutterMode)

setDeclutterOverIcon

void setDeclutterOverIcon(<string> url, <int> width, <int> height)

setLeaderLineColor

void setLeaderLineColor(<string> c)

setLeaderLineDotImage

void setLeaderLineDotImage(<string> url, <int> width, <int> height)

setLeaderLineDotMode

void setLeaderLineDotMode(<int> m)

setNextPageIcon

void setNextPageIcon(<string> url, <int> width, <int> height)

setPrevPageIcon

void setPrevPageIcon(<string> url, <int> width, <int> height)

setRolloverDrag

void setRolloverDrag(<boolean> b)

setStackHeight

void setStackHeight(<int> n)

setStackWidth

void setStackWidth(<int> n)

MapQuest Advantage TileMap Toolkit Reference Documentation

Documentation generated by JSDoc on Tue Oct 16 08:04:28 2007