MapQuest Advantage JavaScript API Reference Documentation

Class MQPan

Object
   |
   +--MQObject
         |
         +--MQMapCommand
               |
               +--MQPan

class MQPan
extends MQMapCommand


Stores data to center the map on a given point without changing its scale. Setting the X,Y coordinates moves the map viewport that number of pixels left or right and up or down.
See:

Defined in mqobjects.js


Field Summary
<private>  MQPoint m_Point
          Value to represent center of the map
   
Fields inherited from class MQMapCommand
m_Col
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQPan ()
            Constructs a new MQPan object.
 
Method Summary
 String getClassName()
           Returns the text name of this class.
 int getObjectVersion()
           Returns the version of this class.
 MQPoint getPoint()
           Returns the m_Point.
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 void setDeltaX(<Double> dblX)
           Sets the Delta X variable, which is the number of pixels that the map viewport is to be moved in the horizontal direction.
 void setDeltaXY(<Double> dblX, <Double> dblY)
           Sets the Delta X and Delta Y variables, which are the number of pixels that the map viewport is to be moved in the horizontal and vertical direction respectively.
 void setDeltaY(<Double> dblY)
           Sets the Delta Y variable, which is the number of pixels that the map viewport is to be moved in the vertical direction.
 
Methods inherited from class MQMapCommand
getFeatureSpecifiers, setFeatureSpecifiers
   
Methods inherited from class MQObject
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
 

Field Detail

m_Point

<private> MQPoint m_Point

Constructor Detail

MQPan

MQPan()

Method Detail

getClassName

String getClassName()

getObjectVersion

int getObjectVersion()

getPoint

MQPoint getPoint()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setDeltaX

void setDeltaX(<Double> dblX)

setDeltaXY

void setDeltaXY(<Double> dblX, <Double> dblY)

setDeltaY

void setDeltaY(<Double> dblY)

MapQuest Advantage JavaScript API Reference Documentation

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