Table of Contents

Class CloudRoutingGetRouteOptions

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

A class provides the options for the GetRoute API.

[Obfuscation(Exclude = true)]
public class CloudRoutingGetRouteOptions
Inheritance
CloudRoutingGetRouteOptions
Inherited Members

Remarks

A class provides the options for the GetRoute API.

Constructors

CloudRoutingGetRouteOptions()

public CloudRoutingGetRouteOptions()

Properties

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

float

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 RouteType? RouteType { get; set; }

Property Value

RouteType?

TurnByTurn

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

public bool TurnByTurn { get; set; }

Property Value

bool