On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.

RoutingOptions.RoutingStrategy

Stay organized with collections Save and categorize content based on your preferences.
public static abstract @interface RoutingOptions.RoutingStrategy implements Annotation

The routing strategy specifies how routes are ranked, which affects the route that is chosen initially, and during re-routing. The default is DEFAULT_BEST.

Constant Summary

int DEFAULT_BEST Ranks routes by NavSDK's default cost model.
int SHORTER Ranks routes by distance, shortest first

Inherited Method Summary

Constants

public static final int DEFAULT_BEST

Ranks routes by NavSDK's default cost model. This is the default routing strategy for navigating.

Constant Value: 0

public static final int SHORTER

Ranks routes by distance, shortest first

Constant Value: 1