|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQRouteResults
Contains the results of a routing request.
See:
| Field Summary | |
<private> Float |
distance
Value of the total distance for this maneuver. |
<private> MQLocationCollection |
m_Locations
Value to represent the collection of locations. |
<private> MQRouteResultsCode |
m_ResultCode
Value to represent the collection of locations. |
<private> MQStringCollection |
m_ResultMessages
Value to represent the collection of result messages. |
<private> MQTrekRouteCollection |
m_TrekRoutes
Value to represent the collection of MQTrekRoutes. |
<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 | |
MQRouteResults
()
Constructs a new MQRouteResults object. |
|
| Method Summary | |
String
|
getClassName()
Returns the text name of this class. |
String
|
getCoverageName()
Gets the Coverage name used to perform this route. |
Float
|
getDistance()
Returns the total distance for this maneuver. |
MQLocationCollection
|
getLocations()
Returns all Locations used in the route. |
int
|
getObjectVersion()
Returns the version of this class. |
MQRouteResultsCode
|
getResultCode()
Gets the result code member of this object. |
MQStringCollection
|
getResultMessages()
Returns the messages returned by Server. |
MQLatLngCollection
|
getShapePoints()
Returns the shapePoints collection made by appending all the maneuver shape point collections. |
int
|
getTime()
Returns the total time for this maneuver. |
MQTrekRouteCollection
|
getTrekRoutes()
Returns the TrekRouteCollection member of this object. |
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object. |
String
|
saveXml()
Build an xml string that represents this object. |
void
|
setCoverageName(<String> strName)
Sets the Coverage name used to perform this route. |
void
|
setResultCode(<MQRouteResultsCode> resultCode)
Sets the result code member of 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> MQLocationCollection m_Locations
<private> MQRouteResultsCode m_ResultCode
<private> MQStringCollection m_ResultMessages
<private> MQTrekRouteCollection m_TrekRoutes
<private> MQManeuverCollection shapePoints
<private> int time
| Constructor Detail |
MQRouteResults()
| Method Detail |
String getClassName()
String getCoverageName()
Float getDistance()
MQLocationCollection getLocations()
int getObjectVersion()
MQRouteResultsCode getResultCode()
MQStringCollection getResultMessages()
MQLatLngCollection getShapePoints()
int getTime()
MQTrekRouteCollection getTrekRoutes()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setCoverageName(<String> strName)
strName - Name of coverage.
void setResultCode(<MQRouteResultsCode> resultCode)
resultCode - The MQRouteResultsCode for this MQRouteResults object.
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||