MapQuest Advantage JavaScript API Reference Documentation

Class MQManeuver

Object
   |
   +--MQObject
         |
         +--MQManeuver

class MQManeuver
extends MQObject


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

Defined in mqobjects.js


Field Summary
<private>  MQIntCollection m_GEFIDs
          Value to represent the collection of GEFIDs
<private>  MQLatLngCollection m_ShapePoints
          Value to represent the collection of shape points.
<private>  MQSignCollection m_Signs
          Value to represent the collection of signs
<private>  MQStringCollection m_Streets
          Value to represent the collection of streets.
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQManeuver ()
            Constructs a new MQManeuver object.
 
Method Summary
 int getAttributes()
           Get the attributes associated with this maneuver.
 String getClassName()
           Returns the text name of this class.
 int getDirection()
           Returns an integer representing the direction for this Maneuver.
 String getDirectionName()
           Returns a string representing the direction for this Maneuver.
 Float getDistance()
           Returns the distance of this Maneuver.
 MQIntCollection getGEFIDs()
           Returns the m_GEFIDs collection.
 String getNarrative()
           Returns a string representing the narrative for this Maneuver.
 int getObjectVersion()
           Returns the version of this class.
 MQLatLngCollection getShapePoints()
           Returns the m_ShapePoints collection.
 MQSignCollection getSigns()
           Returns the m_Signs collection.
 MQStringCollection getStreets()
           Returns the m_Streets collection.
 int getTime()
           Returns the seconds to travel this Maneuver.
 int getTurnType()
           Returns the turn type of this Maneuver.
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 void setAttributes(<int> attributes)
           Set the attributes associated with this maneuver.
 void setDirection(<int> direction)
           Sets an integer representing the direction for this Maneuver.
 void setDistance(<Float> distance)
           Sets the distance of this Maneuver.
 void setGEFIDs(<MQIntCollection> GEFIDs)
           Sets the m_GEFIDs collection.
 void setNarrative(<String> narrative)
           Sets a string representing the narrative for this Maneuver.
 void setShapePoints(<MQLatLngCollection> shapePoints)
           Sets the m_ShapePoints collection.
 void setSigns(<MQSignCollection> signs)
           Sets the m_Signs collection.
 void setStreets(<MQStringCollection> streets)
           Sets the m_Streets collection.
 void setTime(<int> seconds)
           Sets the seconds to travel this Maneuver.
 void setTurnType(<int> type)
           Sets the turn type of this Maneuver.
 
Methods inherited from class MQObject
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
 

Field Detail

m_GEFIDs

<private> MQIntCollection m_GEFIDs

m_ShapePoints

<private> MQLatLngCollection m_ShapePoints

m_Signs

<private> MQSignCollection m_Signs

m_Streets

<private> MQStringCollection m_Streets

Constructor Detail

MQManeuver

MQManeuver()

Method Detail

getAttributes

int getAttributes()

getClassName

String getClassName()

getDirection

int getDirection()

getDirectionName

String getDirectionName()

getDistance

Float getDistance()

getGEFIDs

MQIntCollection getGEFIDs()

getNarrative

String getNarrative()

getObjectVersion

int getObjectVersion()

getShapePoints

MQLatLngCollection getShapePoints()

getSigns

MQSignCollection getSigns()

getStreets

MQStringCollection getStreets()

getTime

int getTime()

getTurnType

int getTurnType()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setAttributes

void setAttributes(<int> attributes)

setDirection

void setDirection(<int> direction)

setDistance

void setDistance(<Float> distance)

setGEFIDs

void setGEFIDs(<MQIntCollection> GEFIDs)

setNarrative

void setNarrative(<String> narrative)

setShapePoints

void setShapePoints(<MQLatLngCollection> shapePoints)

setSigns

void setSigns(<MQSignCollection> signs)

setStreets

void setStreets(<MQStringCollection> streets)

setTime

void setTime(<int> seconds)

setTurnType

void setTurnType(<int> type)

MapQuest Advantage JavaScript API Reference Documentation

Documentation generated by JSDoc on Fri Oct 19 08:54:32 2007