Skip to content

CloudRoutingSegment

Namespace: ThinkGeo.Core

A segment object.

public class CloudRoutingSegment

Inheritance ObjectCloudRoutingSegment

Properties

Distance

Indicates the distance traveled through 2 adjacent waypoints in DistanceUnit.

public double Distance { get; set; }

Property Value

Double

Duration

Indicates the estimated travel time through 2 adjacent waypoints in DurationUnit.

public TimeSpan Duration { get; set; }

Property Value

TimeSpan

Name

A string with the name of the road that forms part of the route segment.

public string Name { get; set; }

Property Value

String

Instruction

A human-readable instruction of how to travel for the next.

public string Instruction { get; set; }

Property Value

String

ManeuverType

A string indicating the direction change of the travel.

public string ManeuverType { get; set; }

Property Value

String

Shape

The full route geometry from this route segment to the next route segment.

public LineShape Shape { get; set; }

Property Value

LineShape

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

String

IsToll

Indicates that a fee must be paid by general traffic to use this road.

public Nullable<bool> IsToll { get; set; }

Property Value

Nullable<Boolean>

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

Nullable<Boolean>

ManeuverLocation

A vertex represents the location of the maneuver.It’s presenting as "{y,x}".

public Vertex ManeuverLocation { get; set; }

Property Value

Vertex

Constructors

CloudRoutingSegment()

public CloudRoutingSegment()