Skip to content

CloudRoutingRoute

Namespace: ThinkGeo.Core

A route path object.

public class CloudRoutingRoute

Inheritance ObjectCloudRoutingRoute

Properties

Distance

Indicates the distance traveled through the waypoints which expressed in

DistanceUnit

applied.

public double Distance { get; set; }

Property Value

Double

Duration

Indicates the estimated travel time through the waypoints in

DurationUnit

applied.

public TimeSpan Duration { get; set; }

Property Value

TimeSpan

Shape

The whole route path.

public LineShape Shape { get; set; }

Property Value

LineShape

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

Dictionary<String, String>

Constructors

CloudRoutingRoute()

public CloudRoutingRoute()