MapQuest Advantage JavaScript API Reference Documentation

Class MQRouteOptions

Object
   |
   +--MQObject
         |
         +--MQRouteOptions

class MQRouteOptions
extends MQObject


This class is used to set various options that will affect the type of route result returned from the DoRoute function.
See:

Defined in mqobjects.js


Field Summary
<private>  MQAutoRouteCovSwitch m_AutoRouteCovSwitch
          Value to represent the MQAutoRouteCovSwitch
<private>  MQIntCollection m_AvoidAbsGefIdList
          Value to represent the Avoid Absolute Gef Id List
<private>  MQStringCollection m_AvoidAttrList
          Value to represent the Avoid Attribute List
<private>  MQIntCollection m_AvoidGefIdList
          Value to represent the Avoid Gef Id List
<private>  MQDistanceUnits m_DistanceUnits
          Value to represent the MQDistanceUnits
<private>  MQNarrativeType m_NarrativeType
          Value to represent the MQNarrativeType
<private>  MQRouteType m_RouteType
          Value to represent the MQRouteType
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQRouteOptions ()
           
 
Method Summary
 MQAutoRouteCovSwitch getAutoRouteCovSwitch()
           Returns the m_AutoRouteCovSwitch object.
 MQIntCollection getAvoidAbsGefIdList()
           Returns the m_AvoidAbsGefIdList collection.
 MQStringCollection getAvoidAttrList()
           Returns the m_AvoidAttrList collection.
 MQIntCollection getAvoidGefIdList()
           Returns the m_AvoidGefIdList collection.
 String getClassName()
           Returns the text name of this class.
 boolean getCountryBoundaryDisplay()
           Gets the country boundary display flag
 String getCoverageName()
           Returns the coverage name of the routing data to use takes precedence over CovSwitcher.
 MQDistanceUnits getDistanceUnits()
           Returns the m_DistanceUnits object.
 String getLanguage()
           Returns the language set for this RouteOptions object.
 int getMaxGEFIDsPerManeuver()
           Returns the maximum number of GEFIDs for the route options.
 int getMaxShapePointsPerManeuver()
           Returns the maximum number of shape points for the route options.
 MQNarrativeType getNarrativeType()
           Returns the m_NarrativeType object.
 int getObjectVersion()
           Returns the version of this class.
 MQRouteType getRouteType()
           Returns the m_RouteType object.
 boolean getStateBoundaryDisplay()
           Gets the state boundary display flag
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 void setAutoRouteCovSwitch(<MQAutoRouteCovSwitch> autoRouteCovSwitch)
           Sets the m_AutoRouteCovSwitch collection.
 void setAvoidAbsGefIdList(avoidAbsGefIdList)
           Sets the m_AvoidAbsGefIdList collection.
 void setAvoidAttrList(avoidAttrList)
           Sets the m_AvoidAttrList collection.
 void setAvoidGefIdList(avoidGefIdList)
           Sets the m_AvoidGefIdList collection.
 void setCountryBoundaryDisplay(<Boolean> bFlag)
           Sets the country boundary display flag.
 void setCoverageName(<String> newCoverageName)
           Set the coverage name of the routing data to use takes precedence over CovSwitcher.
 void setDistanceUnits(<MQDistanceUnits> distanceUnits)
           Sets the m_DistanceUnits collection.
 void setLanguage(<String> strLanguage)
           Sets the language for the server to use on a route narrative.
 void setMaxGEFIDsPerManeuver(<int> nCount)
           Sets the maximum number of GEFIDs for the server to return from the route.
 void setMaxShapePointsPerManeuver(<int> nCount)
           Sets the maximum number of shape points for the server to return from the route.
 void setNarrativeType(<MQNarrativeType> narrativeType)
           Sets the m_NarrativeType collection.
 void setRouteType(<MQRouteType> routeType)
           Sets the m_RouteType collection.
 void setStateBoundaryDisplay(<Boolean> bFlag)
           Sets the state boundary display flag.
 
Methods inherited from class MQObject
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
 

Field Detail

m_AutoRouteCovSwitch

<private> MQAutoRouteCovSwitch m_AutoRouteCovSwitch

m_AvoidAbsGefIdList

<private> MQIntCollection m_AvoidAbsGefIdList

m_AvoidAttrList

<private> MQStringCollection m_AvoidAttrList

m_AvoidGefIdList

<private> MQIntCollection m_AvoidGefIdList

m_DistanceUnits

<private> MQDistanceUnits m_DistanceUnits

m_NarrativeType

<private> MQNarrativeType m_NarrativeType

m_RouteType

<private> MQRouteType m_RouteType

Constructor Detail

MQRouteOptions

MQRouteOptions()

Method Detail

getAutoRouteCovSwitch

MQAutoRouteCovSwitch getAutoRouteCovSwitch()

getAvoidAbsGefIdList

MQIntCollection getAvoidAbsGefIdList()

getAvoidAttrList

MQStringCollection getAvoidAttrList()

getAvoidGefIdList

MQIntCollection getAvoidGefIdList()

getClassName

String getClassName()

getCountryBoundaryDisplay

boolean getCountryBoundaryDisplay()

getCoverageName

String getCoverageName()

getDistanceUnits

MQDistanceUnits getDistanceUnits()

getLanguage

String getLanguage()

getMaxGEFIDsPerManeuver

int getMaxGEFIDsPerManeuver()

getMaxShapePointsPerManeuver

int getMaxShapePointsPerManeuver()

getNarrativeType

MQNarrativeType getNarrativeType()

getObjectVersion

int getObjectVersion()

getRouteType

MQRouteType getRouteType()

getStateBoundaryDisplay

boolean getStateBoundaryDisplay()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setAutoRouteCovSwitch

void setAutoRouteCovSwitch(<MQAutoRouteCovSwitch> autoRouteCovSwitch)

setAvoidAbsGefIdList

void setAvoidAbsGefIdList(avoidAbsGefIdList)

setAvoidAttrList

void setAvoidAttrList(avoidAttrList)

setAvoidGefIdList

void setAvoidGefIdList(avoidGefIdList)

setCountryBoundaryDisplay

void setCountryBoundaryDisplay(<Boolean> bFlag)

setCoverageName

void setCoverageName(<String> newCoverageName)

setDistanceUnits

void setDistanceUnits(<MQDistanceUnits> distanceUnits)

setLanguage

void setLanguage(<String> strLanguage)

setMaxGEFIDsPerManeuver

void setMaxGEFIDsPerManeuver(<int> nCount)

setMaxShapePointsPerManeuver

void setMaxShapePointsPerManeuver(<int> nCount)

setNarrativeType

void setNarrativeType(<MQNarrativeType> narrativeType)

setRouteType

void setRouteType(<MQRouteType> routeType)

setStateBoundaryDisplay

void setStateBoundaryDisplay(<Boolean> bFlag)

MapQuest Advantage JavaScript API Reference Documentation

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