| Package | com.afcomponents.umap.interfaces |
| Interface | public interface IRouteService extends flash.events.IEventDispatcher |
| Implementors | BingRouteService, CloudMadeService, DefaultRouteService, MapQuestService |
See also
| Property | Defined by | ||
|---|---|---|---|
| routeResults : RouteResults
[read-only]
Returns route results obtained by previous doRoute operation.
| IRouteService | ||
| Method | Defined by | ||
|---|---|---|---|
|
dispose():void
Releases all the resources accuired by the service.
| IRouteService | ||
|
doRoute(locations:Array, options:Object = null):Boolean
Request a route between 2 or more locations.
| IRouteService | ||
| routeResults | property |
routeResults:RouteResults [read-only]Returns route results obtained by previous doRoute operation.
Implementation public function get routeResults():RouteResults
| dispose | () | method |
public function dispose():voidReleases all the resources accuired by the service.
| doRoute | () | method |
public function doRoute(locations:Array, options:Object = null):Boolean
Request a route between 2 or more locations.
Locations can be specified as Objects which can be processed by a concrete service.
Additional options should be sepcified in the second parameter in a common to service format.
locations:Array — Array of 2 or more locations.
|
|
options:Object (default = null) — Additonal options in a known to service format.
|
Boolean — A value of true if a request has been accepted, and is being processed; false if it is not.
|
See also