Closed datwelk closed 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.
How could one generate the
bannerInstructions
andvoiceInstructions
field in the Mapbox Directions API response on theRouteStep
object using this library?