Table of Contents

Class CloudRoutingOptimizationOptions

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

A class provides the options for the Optimization API.

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

Remarks

A class provides the options for the Optimization API.

Constructors

CloudRoutingOptimizationOptions()

public CloudRoutingOptimizationOptions()

Properties

CoordinateSnapRadius

Optional. The maximum distance of a coordinate can be snapped to the road network in meters. Value must be a positive number. Defaults to 5000. An error “Could not resolve coordinate {x,y}. Probably too far from the closest road or outside of the loaded network ” will be thrown out.

public float CoordinateSnapRadius { get; set; }

Property Value

float

CoordinateSnapRadiusUnit

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

public DistanceUnit CoordinateSnapRadiusUnit { get; set; }

Property Value

DistanceUnit

Destination

Optional. An enum to identify the coordinate at which to end the returned route. Accepts any (default) or last. Available values : Any, Last

public CloudRoutingTspFixDestinationCoordinate Destination { get; set; }

Property Value

CloudRoutingTspFixDestinationCoordinate

DistanceUnit

Optional. The unit of the distance to measure the route. Defaults to “Meter”.

public DistanceUnit DistanceUnit { get; set; }

Property Value

DistanceUnit

Roundtrip

Optional. Indicates whether the returned route is roundtrip, meaning the route returns to the first location (true, default) or not (false).

public bool Roundtrip { get; set; }

Property Value

bool

Source

Optional. An enum to identify the coordinate at which to start the return route. Accepts first (default) or any. Available values : Any, First

public CloudRoutingTspFixSourceCoordinate Source { get; set; }

Property Value

CloudRoutingTspFixSourceCoordinate

TurnByTurn

Optional. Whether to return turn-by-turn instructions or not. false by default.

public bool TurnByTurn { get; set; }

Property Value

bool