Project-OSRM / osrm-text-instructions

Text instructions from OSRM route responses
BSD 2-Clause "Simplified" License
89 stars 62 forks source link

Origin of bannerInstructions and voiceInstructions #269

Closed datwelk closed 5 years ago

datwelk commented 5 years ago

How could one generate the bannerInstructions and voiceInstructions field in the Mapbox Directions API response on the RouteStep object using this library?

danpat commented 5 years ago

@datwelk Those fields are generated by the Mapbox Directions API for use by the Mapbox Navigation SDK. This library does not generate those fields, and the code that does it is not open source.

If you want to use the Mapbox Navigation SDK, your best bet is to use the Mapbox Directions API.