|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQTrekRoute
This object will hold each maneuver of a trekroute returned from a route.
See:
| Field Summary | |
<private> Float |
distance
Value of the total distance for this maneuver. |
<private> MQManeuverCollection |
maneuverList
Value to represent the collection of streets. |
<private> MQManeuverCollection |
shapePoints
Value to represent the collection of streets. |
<private> int |
time
Value of the total time for this maneuver. |
| Fields inherited from class MQObject |
m_xmlDoc, m_xpath
|
| Constructor Summary | |
MQTrekRoute
()
Constructs a new MQTrekRoute object. |
|
| Method Summary | |
String
|
getClassName()
Returns the text name of this class. |
Float
|
getDistance()
Returns the total distance for this maneuver. |
MQManeuverCollection
|
getManeuvers()
Returns the maneuverList collection. |
int
|
getObjectVersion()
Returns the version of this class. |
MQLatLngCollection
|
getShapePoints()
Returns the shapePoints collection made by appending all the maneuver shape point collections. |
int
|
getTime()
Returns the total time for this maneuver. |
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object. |
String
|
saveXml()
Build an xml string that represents this object. |
| Methods inherited from class MQObject |
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
|
| Field Detail |
<private> Float distance
<private> MQManeuverCollection maneuverList
<private> MQManeuverCollection shapePoints
<private> int time
| Constructor Detail |
MQTrekRoute()
| Method Detail |
String getClassName()
Float getDistance()
MQManeuverCollection getManeuvers()
int getObjectVersion()
MQLatLngCollection getShapePoints()
int getTime()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||