MapQuest Advantage JavaScript API Reference Documentation

Class MQRouteResults

Object
   |
   +--MQObject
         |
         +--MQRouteResults

class MQRouteResults
extends MQObject


Contains the results of a routing request.
See:

Defined in mqobjects.js


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

distance

<private> Float distance

m_Locations

<private> MQLocationCollection m_Locations

m_ResultCode

<private> MQRouteResultsCode m_ResultCode

m_ResultMessages

<private> MQStringCollection m_ResultMessages

m_TrekRoutes

<private> MQTrekRouteCollection m_TrekRoutes

shapePoints

<private> MQManeuverCollection shapePoints

time

<private> int time

Constructor Detail

MQRouteResults

MQRouteResults()

Method Detail

getClassName

String getClassName()

getCoverageName

String getCoverageName()

getDistance

Float getDistance()

getLocations

MQLocationCollection getLocations()

getObjectVersion

int getObjectVersion()

getResultCode

MQRouteResultsCode getResultCode()

getResultMessages

MQStringCollection getResultMessages()

getShapePoints

MQLatLngCollection getShapePoints()

getTime

int getTime()

getTrekRoutes

MQTrekRouteCollection getTrekRoutes()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setCoverageName

void setCoverageName(<String> strName)

setResultCode

void setResultCode(<MQRouteResultsCode> resultCode)

MapQuest Advantage JavaScript API Reference Documentation

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