Class CloudRoutingGetRouteOptions
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
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 RouteType? RouteType { get; set; }
Property Value
TurnByTurn
Whether to return turn-by-turn instructions or not. Defaults to false.
public bool TurnByTurn { get; set; }