|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQManeuver
This object will hold each maneuver of a trekroute returned from a route.
See:
| 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 |
<private> MQIntCollection m_GEFIDs
<private> MQLatLngCollection m_ShapePoints
<private> MQSignCollection m_Signs
<private> MQStringCollection m_Streets
| Constructor Detail |
MQManeuver()
| Method Detail |
int getAttributes()
String getClassName()
int getDirection()
String getDirectionName()
Float getDistance()
MQIntCollection getGEFIDs()
String getNarrative()
int getObjectVersion()
MQLatLngCollection getShapePoints()
MQSignCollection getSigns()
MQStringCollection getStreets()
int getTime()
int getTurnType()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setAttributes(<int> attributes)
attributes - attributes associated with this maneuver.
void setDirection(<int> direction)
direction - The direction for this Maneuver
void setDistance(<Float> distance)
distance - The distance
void setGEFIDs(<MQIntCollection> GEFIDs)
GEFIDs - The collection to set m_GEFIDs to.
void setNarrative(<String> narrative)
narrative - a string representing the narrative for this Maneuver
void setShapePoints(<MQLatLngCollection> shapePoints)
shapePoints - The collection to set m_ShapePoints to.
void setSigns(<MQSignCollection> signs)
signs - The collection to set m_Signs to.
void setStreets(<MQStringCollection> streets)
streets - The collection to set m_Streets to.
void setTime(<int> seconds)
seconds - The seconds to travel this Maneuver.
void setTurnType(<int> type)
type - that is a valid turn type Valid types are the constants starting with K_
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||