MapQuest Advantage JavaScript API Reference Documentation

Class MQMapState

Object
   |
   +--MQObject
         |
         +--MQMapState

class MQMapState
extends MQObject


Defines the characteristics of a map. It includes such information as the map name, the coverage name, the latitude/longitude of the map Center, the map scale, and the image size.
See:

Defined in mqobjects.js


Field Summary
<private>  MQLatLng m_MQLatLng
          Value to represent the Center point of the map
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQMapState ()
            Constructs a new MQMapState object.
 
Method Summary
 Boolean equals(<MQMapState> comparator)
           Compares this object to the specified object.
 MQLatLng getCenter()
           Returns the Center point of the map associated with this MapState object.
 String getClassName()
           Returns the text name of this class.
 void getCoverageName()
           Returns the coverage name of the map associated with this MapState object.
 = int getHeightInches()
           Returns the height of the generated map in inches.
 void getHeightPixels(<int> dpi)
           Returns the height of the generated map in pixels.
 void getMapName()
           Returns the map name of the map associated with this MapState object.
 Object getMapScale()
           Returns the scale of the map associated with this MapState object.
 int getObjectVersion()
           Returns the version of this class.
 = int getWidthInches()
           Returns the width of the generated map in inches.
 void getWidthPixels(<int> dpi)
           Returns the width of the generated map in pixels.
 void initObject()
           Initializes object.
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 void setCenter(<MQLatLng> latLng)
           Sets the Center point of the map associated with this MapState object.
 void setCoverageName(<String> strCovId)
           Sets the coverage name for the map associated with this MapState object.
 void setHeightInches(<Double> dHeight)
           Sets the height of the generated map in inches.
 void setHeightPixels(<int> iHeight, <int> dpi)
           Sets the height of the generated map in pixels.
 void setMapName(<String> strName)
           Sets the map name of the map associated with this MapState object.
 void setMapScale(<int> nNewScale)
           Sets the scale of the map associated with this MapState object.
 void setWidthInches(<Double> dWidth)
           Sets the width of the generated map in inches.
 void setWidthPixels(<int> iWidth, <int> dpi)
           Sets the width of the generated map in pixels.
 
Methods inherited from class MQObject
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
 

Field Detail

m_MQLatLng

<private> MQLatLng m_MQLatLng

Constructor Detail

MQMapState

MQMapState()

Method Detail

equals

Boolean equals(<MQMapState> comparator)

getCenter

MQLatLng getCenter()

getClassName

String getClassName()

getCoverageName

void getCoverageName()

getHeightInches

= int getHeightInches()

getHeightPixels

void getHeightPixels(<int> dpi)

getMapName

void getMapName()

getMapScale

Object getMapScale()

getObjectVersion

int getObjectVersion()

getWidthInches

= int getWidthInches()

getWidthPixels

void getWidthPixels(<int> dpi)

initObject

void initObject()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setCenter

void setCenter(<MQLatLng> latLng)

setCoverageName

void setCoverageName(<String> strCovId)

setHeightInches

void setHeightInches(<Double> dHeight)

setHeightPixels

void setHeightPixels(<int> iHeight, <int> dpi)

setMapName

void setMapName(<String> strName)

setMapScale

void setMapScale(<int> nNewScale)

setWidthInches

void setWidthInches(<Double> dWidth)

setWidthPixels

void setWidthPixels(<int> iWidth, <int> dpi)

MapQuest Advantage JavaScript API Reference Documentation

Documentation generated by JSDoc on Fri Oct 19 08:54:32 2007