MapQuest Advantage TileMap Toolkit Reference Documentation

Class MQMapIcon

Object
   |
   +--MQMapIcon

class MQMapIcon


A MQMapIcon encapsulates the image functionality that is used to represent a MQPoi..
Defined in features.js


Constructor Summary
MQMapIcon (<MQMapIcon> source)
            Constructs a MQMapIcon object.
 
Method Summary
 MQPoint getAnchorOffset()
           Returns the anchor offset for this icon.
 HTMLElement getElement()
           Returns the Element node of this icon.
 HTMLImageElement getImage()
           Returns the image for this icon.
 MQPoint getInfoWindowAnchor()
           Returns the info window anchor point for this icon.
 HTMLImageElement getShadow()
           Returns the shadow image for this icon.
 void redraw()
           Redraws this icon.
 void setAnchorOffset(<MQPoint> mqPoint)
           Sets the anchor offset of this icon.
 void setImage( <string> url, <int> width, <int> height, <boolean> recalculateAnchors, <boolean> imgIsPng)
           Sets the image for this icon.
 void setInfoWindowAnchor(<MQPoint> mqPoint)
           Sets the info window anchor point for this icon.
 void setShadow( <string> url, <int> left, <int> top, <int> width, <int> height, <boolean> imgIsPng)
           Sets the shadow image for this icon.

Constructor Detail

MQMapIcon

MQMapIcon(<MQMapIcon> source)

Method Detail

getAnchorOffset

MQPoint getAnchorOffset()

getElement

HTMLElement getElement()

getImage

HTMLImageElement getImage()

getInfoWindowAnchor

MQPoint getInfoWindowAnchor()

getShadow

HTMLImageElement getShadow()

redraw

void redraw()

setAnchorOffset

void setAnchorOffset(<MQPoint> mqPoint)

setImage

void setImage( <string> url, <int> width, <int> height, <boolean> recalculateAnchors, <boolean> imgIsPng)

setInfoWindowAnchor

void setInfoWindowAnchor(<MQPoint> mqPoint)

setShadow

void setShadow( <string> url, <int> left, <int> top, <int> width, <int> height, <boolean> imgIsPng)

MapQuest Advantage TileMap Toolkit Reference Documentation

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