MapQuest Advantage JavaScript API Reference Documentation

Class MQZoomTo

Object
   |
   +--MQObject
         |
         +--MQMapCommand
               |
               +--MQZoomTo

class MQZoomTo
extends MQMapCommand


Stores data to zoom out one level and center the map on a given point. Setting the X,Y coordinates to the invalid Point results in a zoom without changing the Center point.
See:

Defined in mqobjects.js


Field Summary
<private>  MQPoint m_Center
          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
MQZoomTo ()
            Constructs a new MQZoomTo object.
 
Method Summary
 MQPoint getCenter()
           Returns the m_Center.
 String getClassName()
           Returns the text name of this class.
 int getObjectVersion()
           Returns the version of this class.
 Long getZoomLevel()
           Get zoom level index from the AutoMapCovswitch object ZoomLevels property.
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 void setCenter(<MQPoint> pt)
           Sets the m_Center.
 void setZoomLevel(<Long> val)
           Set zoom level index from the AutoMapCovswitch object ZoomLevels property.
 
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_Center

<private> MQPoint m_Center

Constructor Detail

MQZoomTo

MQZoomTo()

Method Detail

getCenter

MQPoint getCenter()

getClassName

String getClassName()

getObjectVersion

int getObjectVersion()

getZoomLevel

Long getZoomLevel()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setCenter

void setCenter(<MQPoint> pt)

setZoomLevel

void setZoomLevel(<Long> val)

MapQuest Advantage JavaScript API Reference Documentation

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