Package | com.google.maps.services |
Class | public class Step |
Property | Defined by | ||
---|---|---|---|
descriptionHtml : String [read-only] An HTML string containing the description of this step.
| Step | ||
distance : Number [read-only] The total distance of this step in meters.
| Step | ||
distanceHtml : String [read-only]
The total distance of this step in a localized string representation
in the units that are predominant in the starting country
of this set of directions.
| Step | ||
duration : Number [read-only] The total time of this step in seconds.
| Step | ||
durationHtml : String [read-only] The total time of this step in a localized string representation.
| Step | ||
latLng : LatLng
[read-only] The first point along the polyline for this step.
| Step | ||
polylineIndex : uint [read-only] The index of the first point along the polyline for this step.
| Step |
Method | Defined by | ||
---|---|---|---|
Step()
Constructor.
| Step |
descriptionHtml | property |
descriptionHtml:String
[read-only]An HTML string containing the description of this step.
Implementation public function get descriptionHtml():String
distance | property |
distance:Number
[read-only]The total distance of this step in meters.
Implementation public function get distance():Number
distanceHtml | property |
distanceHtml:String
[read-only]The total distance of this step in a localized string representation in the units that are predominant in the starting country of this set of directions.
Implementation public function get distanceHtml():String
duration | property |
duration:Number
[read-only]The total time of this step in seconds.
Implementation public function get duration():Number
durationHtml | property |
durationHtml:String
[read-only]The total time of this step in a localized string representation.
Implementation public function get durationHtml():String
latLng | property |
latLng:LatLng
[read-only]The first point along the polyline for this step.
Implementation public function get latLng():LatLng
polylineIndex | property |
polylineIndex:uint
[read-only]The index of the first point along the polyline for this step.
Implementation public function get polylineIndex():uint
Step | () | constructor |
public function Step()
Constructor. Creates an empty step object.