CloudRoutingGetRouteOptions¶
Namespace: ThinkGeo.Core
A class provides the options for the GetRoute API.
public class CloudRoutingGetRouteOptions
Inheritance Object → CloudRoutingGetRouteOptions
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¶
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¶
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¶
The unit of measure in which to express the length of the route. Defaults to Meter.
public DistanceUnit DistanceUnit { get; set; }
Property Value¶
RouteType¶
The Route base on the time shortest or the distance shortest
public Nullable<RouteType> RouteType { get; set; }
Property Value¶
Constructors¶
CloudRoutingGetRouteOptions()¶
public CloudRoutingGetRouteOptions()