MapQuest Advantage JavaScript API Reference Documentation

Class MQTrekRoute

Object
   |
   +--MQObject
         |
         +--MQTrekRoute

class MQTrekRoute
extends MQObject


This object will hold each maneuver of a trekroute returned from a route.
See:

Defined in mqobjects.js


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

distance

<private> Float distance

maneuverList

<private> MQManeuverCollection maneuverList

shapePoints

<private> MQManeuverCollection shapePoints

time

<private> int time

Constructor Detail

MQTrekRoute

MQTrekRoute()

Method Detail

getClassName

String getClassName()

getDistance

Float getDistance()

getManeuvers

MQManeuverCollection getManeuvers()

getObjectVersion

int getObjectVersion()

getShapePoints

MQLatLngCollection getShapePoints()

getTime

int getTime()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

MapQuest Advantage JavaScript API Reference Documentation

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