MapQuest Advantage JavaScript API Reference Documentation

Class MQAutoMapCovSwitch

Object
   |
   +--MQObject
         |
         +--MQAutoRouteCovSwitch
               |
               +--MQAutoMapCovSwitch

class MQAutoMapCovSwitch
extends MQAutoRouteCovSwitch


Stores map coverage switching parameters. Add this object to a Session to enable automatic map coverage switching for the session.
See:

Defined in mqobjects.js


Field Summary
<private>  MQIntCollection m_ZoomLevels
          Value to represent the Zoom Levels
   
Fields inherited from class MQAutoRouteCovSwitch
m_DataVendorCodes
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQAutoMapCovSwitch (<String> strXpath)
            Constructs a new MQAutoMapCovSwitch object.
 
Method Summary
 String getClassName()
           Returns the text name of this class.
 int getObjectVersion()
           Returns the version of this class.
 String getStyle()
           Gets the name of the style alias to be selected for the selected mapping coverage or blank for default.
 MQIntCollection getZoomLevels()
           Returns the m_ZoomLevels collection.
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 void setStyle(<String> strStyle)
           Sets the name of the style alias to be selected for the selected mapping coverage or blank for default.
 
Methods inherited from class MQAutoRouteCovSwitch
getDataVendorCodes, setName, getName, setDataVendorCodeUsage, getDataVendorCodeUsage
   
Methods inherited from class MQObject
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
 

Field Detail

m_ZoomLevels

<private> MQIntCollection m_ZoomLevels

Constructor Detail

MQAutoMapCovSwitch

MQAutoMapCovSwitch(<String> strXpath)

Method Detail

getClassName

String getClassName()

getObjectVersion

int getObjectVersion()

getStyle

String getStyle()

getZoomLevels

MQIntCollection getZoomLevels()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setStyle

void setStyle(<String> strStyle)

MapQuest Advantage JavaScript API Reference Documentation

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