You are viewing Nextmv legacy docs. ⚡️ Go to latest docs ⚡️

2022 06 07 V 0 15 1 Released

SDK v0.15.1

Updates to custom constraints.

In this release we made changes to the Constraint interface. Furthermore, the OSRM client can now retrieve polylines from the OSRM server. Learn more in the upgrade guide.


Hash() function removed

We removed the Hash() function from the Constraint interface. Thus, custom constraints no longer need to implement this function.

OSRM Polylines

The OSRM client can now retrieve polylines for a set of stops by calling osrm.Polyline(client, points) from the OSRM server. The function returns a polyline from first to last point as well as a slice of polylines, one for each leg of the given points. All polylines are encoded in Google's polyline format.

Page last updated

Go to on-page nav menu