Mapbox Directions is now using the latest version of the Open Source Routing Machine (OSRM), the open-source library powering our Directions products.

Some of the improvements you will see:

  • Our Directions API and Distance API now use turn penalties for car routing, favouring routes with less turns
  • Our Directions API now returns the mode of travel for each step (e.g. showing cars on ferries or when a bike needs to be pushed)
  • Our Map Matching API now provides better results for traces with low sample rates

Also the new version of OSRM sets the stage for exciting new Mapbox Directions features to come:

Check out the improved Mapbox Directions, get your own copy of OSRM, and let us know what you think on Twitter.