Skip to content

CloudRoutingGetRouteOptions

Namespace: ThinkGeo.Core

A class provides the options for the GetRoute API.

public class CloudRoutingGetRouteOptions

Inheritance ObjectCloudRoutingGetRouteOptions

Remarks:

A class provides the options for the GetRoute API.

Properties

TurnByTurn

Whether to return turn-by-turn instructions or not. Defaults to false.

public bool TurnByTurn { get; set; }

Property Value

Boolean

CoordinateSnapRadius

The maximum distance of a coordinate can be snapped to the road network, in meters. Defaults to 5000.

public float CoordinateSnapRadius { get; set; }

Property Value

Single

CoordinateSnapRadiusUnit

The unit of the radius to snap the input coordinate to road network. Defaults to Meter.

public DistanceUnit CoordinateSnapRadiusUnit { get; set; }

Property Value

DistanceUnit

DistanceUnit

The unit of measure in which to express the length of the route. Defaults to Meter.

public DistanceUnit DistanceUnit { get; set; }

Property Value

DistanceUnit

RouteType

The Route base on the time shortest or the distance shortest

public Nullable<RouteType> RouteType { get; set; }

Property Value

Nullable<RouteType>

Constructors

CloudRoutingGetRouteOptions()

public CloudRoutingGetRouteOptions()