Packagecom.afcomponents.umap.types
Classpublic class Maneuver

Maneuver information.

See also

com.afcomponents.umap.display.routemanager.RouteManager


Public Properties
 PropertyDefined by
  distance : Number
The distance of this maneuver.
Maneuver
  heading : String
Maneuver's heading
Maneuver
  narrative : String
Text narrative for this maneuver
Maneuver
  shape : Array
Maneuver's shape.
Maneuver
  streets : Array
Streets associated with this maneuver.
Maneuver
  time : Number
Estimated time to drive this maneuver in seconds.
Maneuver
  turnType : String
The type of turn thgis menuver describes.
Maneuver
Public Methods
 MethodDefined by
  
Maneuver(narrative:String, streets:Array, turnType:String, distance:Number, time:Number, heading:String, shape:Array, data:Object = null)
Maneuver
Property detail
distanceproperty
distance:Number  [read-write]

The distance of this maneuver.

Implementation
    public function get distance():Number
    public function set distance(value:Number):void
headingproperty 
heading:String  [read-write]

Maneuver's heading

The default value is 0.

Implementation
    public function get heading():String
    public function set heading(value:String):void
narrativeproperty 
narrative:String  [read-write]

Text narrative for this maneuver

Implementation
    public function get narrative():String
    public function set narrative(value:String):void
shapeproperty 
shape:Array  [read-write]

Maneuver's shape.

Implementation
    public function get shape():Array
    public function set shape(value:Array):void
streetsproperty 
streets:Array  [read-write]

Streets associated with this maneuver.

Implementation
    public function get streets():Array
    public function set streets(value:Array):void
timeproperty 
time:Number  [read-write]

Estimated time to drive this maneuver in seconds.

Implementation
    public function get time():Number
    public function set time(value:Number):void
turnTypeproperty 
turnType:String  [read-write]

The type of turn thgis menuver describes.

The default value is -1.

Implementation
    public function get turnType():String
    public function set turnType(value:String):void
Constructor detail
Maneuver()constructor
public function Maneuver(narrative:String, streets:Array, turnType:String, distance:Number, time:Number, heading:String, shape:Array, data:Object = null)Parameters
narrative:String
 
streets:Array
 
turnType:String
 
distance:Number
 
time:Number
 
heading:String
 
shape:Array
 
data:Object (default = null)