CloudRoutingRoute¶
Namespace: ThinkGeo.Core
A route path object.
public class CloudRoutingRoute
Inheritance Object → CloudRoutingRoute
Properties¶
Distance¶
Indicates the distance traveled through the waypoints which expressed in
DistanceUnit
applied.
public double Distance { get; set; }
Property Value¶
Duration¶
Indicates the estimated travel time through the waypoints in
DurationUnit
applied.
public TimeSpan Duration { get; set; }
Property Value¶
Shape¶
The whole route path.
public LineShape Shape { get; set; }
Property Value¶
Segments¶
An array of CloudRoutingSegment. It only returns when requested "TurnByTurn" is true.
public Collection<CloudRoutingSegment> Segments { get; set; }
Property Value¶
Collection<CloudRoutingSegment>
Warnings¶
Indicates whether there are some special messages you have to pay attention to. For example, the route passes through the toll ways.
public Dictionary<string, string> Warnings { get; set; }
Property Value¶
Constructors¶
CloudRoutingRoute()¶
public CloudRoutingRoute()