Click or drag to resize

Telogis.GeoBase.Routing.RoutingStrategyShortest

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
RoutingStrategyShortest Class

RoutingStrategyShortest inherits from Routing.RoutingStrategy.

A type of Routing.RoutingStrategy that specifies a custom callback on the server to favor shorter routes.

JavaScript
var shortest_strategy = new Telogis.GeoBase.Routing.RoutingStrategyShortest();
route.setStrategy(shortest_strategy);