CloudRoutingSegment¶
Namespace: ThinkGeo.Core
A segment object.
public class CloudRoutingSegment
Inheritance Object → CloudRoutingSegment
Properties¶
Distance¶
Indicates the distance traveled through 2 adjacent waypoints in DistanceUnit.
public double Distance { get; set; }
Property Value¶
Duration¶
Indicates the estimated travel time through 2 adjacent waypoints in DurationUnit.
public TimeSpan Duration { get; set; }
Property Value¶
Name¶
A string with the name of the road that forms part of the route segment.
public string Name { get; set; }
Property Value¶
Instruction¶
A human-readable instruction of how to travel for the next.
public string Instruction { get; set; }
Property Value¶
ManeuverType¶
A string indicating the direction change of the travel.
public string ManeuverType { get; set; }
Property Value¶
Shape¶
The full route geometry from this route segment to the next route segment.
public LineShape Shape { get; set; }
Property Value¶
Ref¶
A string representing the “reference” number or codes of the road that forms part of the route segment.
public string Ref { get; set; }
Property Value¶
IsToll¶
Indicates that a fee must be paid by general traffic to use this road.
public Nullable<bool> IsToll { get; set; }
Property Value¶
IsPrivate¶
Indicates that the road is not to be used by the general public, and on other facilities.
public Nullable<bool> IsPrivate { get; set; }
Property Value¶
ManeuverLocation¶
A vertex represents the location of the maneuver.It’s presenting as "{y,x}".
public Vertex ManeuverLocation { get; set; }
Property Value¶
Constructors¶
CloudRoutingSegment()¶
public CloudRoutingSegment()