| Package | com.mapquest |
| Class | public class RouteResults |
| Inheritance | RouteResults MQObject |
See also
| Method | Defined by | ||
|---|---|---|---|
|
Constructs a new RouteResults object.
| RouteResults | ||
|
Get RectLL
| RouteResults | ||
|
getClassName():String
Returns the text name of this class.
| RouteResults | ||
|
getCoverageName():String
Gets the Coverage name used to perform this route.
| RouteResults | ||
|
getDistance():Number
Returns the total distance for this maneuver.
| RouteResults | ||
|
Returns all Locations used in the route.
| RouteResults | ||
|
getObjectVersion():Number
Returns the version of this class.
| RouteResults | ||
![]() |
getProperty(path:String):String
Gets values from xml.
| MQObject | |
|
Gets the result code member of this object.
| RouteResults | ||
|
Returns the messages returned by Server.
| RouteResults | ||
|
Returns the shapePoints collection made by appending all the maneuver shape point collections.
| RouteResults | ||
|
getTime():int
Returns the total time for this maneuver.
| RouteResults | ||
|
Returns the TrekRouteCollection member of this object.
| RouteResults | ||
![]() |
Create a copy of this object.
| MQObject | |
![]() |
internalCopyXML(obj:MQObject):XML
| MQObject | |
![]() |
internalCopyXMLx(obj:MQObject):String
| MQObject | |
|
loadXml(xmlPrm:XML):void
Assigns the xml that relates to this object.
| RouteResults | ||
![]() |
readExternal(input:IDataInput):void
| MQObject | |
|
saveXml():XML
Build xml that represents this object.
| RouteResults | ||
|
setBoundingBox(value:RectLL):void
Set RectLL
| RouteResults | ||
|
setCoverageName(strName:String):void
Sets the Coverage name used to perform this route.
| RouteResults | ||
![]() |
setProperty(path:String, value:Object):String
Sets values in xml.
| MQObject | |
|
setResultCode(resultCode:RouteResultsCode):void
Sets the result code member of this object.
| RouteResults | ||
![]() |
setXpath(xpath:String):void
Sets the m_xpath object.
| MQObject | |
![]() |
writeExternal(output:IDataOutput):void
| MQObject | |
| RouteResults | () | constructor |
public function RouteResults()Constructs a new RouteResults object.
| getBoundingBox | () | method |
| getClassName | () | method |
public override function getClassName():StringReturns the text name of this class.
ReturnsString — The text name of this class.
|
| getCoverageName | () | method |
public function getCoverageName():StringGets the Coverage name used to perform this route.
ReturnsString — The value of CoverageName
|
| getDistance | () | method |
public function getDistance():NumberReturns the total distance for this maneuver.
ReturnsNumber — The total distance for this maneuver.
|
| getLocations | () | method |
public function getLocations():LocationCollectionReturns all Locations used in the route. LatLng may be altered to closest point on found road segment. Locations may be re-ordered in the case of an optimized route
ReturnsLocationCollection —
All Locations used in the route.
|
| getObjectVersion | () | method |
public override function getObjectVersion():NumberReturns the version of this class.
ReturnsNumber — The version of this class.
|
| getResultCode | () | method |
public function getResultCode():RouteResultsCodeGets the result code member of this object.
ReturnsRouteResultsCode —
The result code member of this object.
|
| getResultMessages | () | method |
public function getResultMessages():StringCollectionReturns the messages returned by Server. Each result message should contain a unique number followed by a text description. Ex: "200 Unable to calculate route." Messages for invalid locations should be numbered 100..199 Messages for route failures should be numbered 200..99
ReturnsStringCollection —
An StringCollection of messages.
|
| getShapePoints | () | method |
public function getShapePoints():LatLngCollectionReturns the shapePoints collection made by appending all the maneuver shape point collections.
ReturnsLatLngCollection —
The shapePoints collection.
|
| getTime | () | method |
public function getTime():intReturns the total time for this maneuver.
Returnsint — The total time for this maneuver.
|
| getTrekRoutes | () | method |
public function getTrekRoutes():TrekRouteCollectionReturns the TrekRouteCollection member of this object.
ReturnsTrekRouteCollection —
All TrekRoutes used in the route.
|
| loadXml | () | method |
public override function loadXml(xmlPrm:XML):voidAssigns the xml that relates to this object.
ParametersxmlPrm:XML — the xml to be assigned.
|
| saveXml | () | method |
public override function saveXml():XMLBuild xml that represents this object.
ReturnsXML — The xml.
|
| setBoundingBox | () | method |
| setCoverageName | () | method |
public function setCoverageName(strName:String):voidSets the Coverage name used to perform this route.
ParametersstrName:String — Name of coverage.
|
| setResultCode | () | method |
public function setResultCode(resultCode:RouteResultsCode):voidSets the result code member of this object.
ParametersresultCode:RouteResultsCode — RouteResultsCode for this RouteResults object.
|