|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQRouteOptions
This class is used to set various options that will affect the
type of route result returned from the DoRoute function.
See:
| 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 |
<private> MQAutoRouteCovSwitch m_AutoRouteCovSwitch
<private> MQIntCollection m_AvoidAbsGefIdList
<private> MQStringCollection m_AvoidAttrList
<private> MQIntCollection m_AvoidGefIdList
<private> MQDistanceUnits m_DistanceUnits
<private> MQNarrativeType m_NarrativeType
<private> MQRouteType m_RouteType
| Constructor Detail |
MQRouteOptions()
| Method Detail |
MQAutoRouteCovSwitch getAutoRouteCovSwitch()
MQIntCollection getAvoidAbsGefIdList()
MQStringCollection getAvoidAttrList()
MQIntCollection getAvoidGefIdList()
String getClassName()
boolean getCountryBoundaryDisplay()
String getCoverageName()
MQDistanceUnits getDistanceUnits()
String getLanguage()
int getMaxGEFIDsPerManeuver()
int getMaxShapePointsPerManeuver()
MQNarrativeType getNarrativeType()
int getObjectVersion()
MQRouteType getRouteType()
boolean getStateBoundaryDisplay()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setAutoRouteCovSwitch(<MQAutoRouteCovSwitch> autoRouteCovSwitch)
autoRouteCovSwitch - The object to set m_AutoRouteCovSwitch to.
void setAvoidAbsGefIdList(avoidAbsGefIdList)
AvoidAbsGefIdList - The collection to set m_AvoidAbsGefIdList to.
void setAvoidAttrList(avoidAttrList)
AvoidAttrList - The collection to set m_AvoidAttrList to.
void setAvoidGefIdList(avoidGefIdList)
AvoidGefIdList - The collection to set m_AvoidGefIdList to.
void setCountryBoundaryDisplay(<Boolean> bFlag)
bFlag - The country boundary display flag
void setCoverageName(<String> newCoverageName)
newCoverageName - The coverage name
void setDistanceUnits(<MQDistanceUnits> distanceUnits)
distanceUnits - The object to set m_DistanceUnits to.
void setLanguage(<String> strLanguage)
strLanguage - containing a valid language
void setMaxGEFIDsPerManeuver(<int> nCount)
nCount - with the maximum number of GEFIDs.
void setMaxShapePointsPerManeuver(<int> nCount)
nCount - with the maximum number of shape points.
void setNarrativeType(<MQNarrativeType> narrativeType)
narrativeType - The object to set m_NarrativeType to.
void setRouteType(<MQRouteType> routeType)
routeType - The object to set m_RouteType to.
void setStateBoundaryDisplay(<Boolean> bFlag)
bFlag - The state boundary display flag
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||