You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Absolute beginner with APIs in general and more so with Mapbox here.
I'm a student develoving a web-app for school and i'm using Mapbox GL JS with the directions plugin to calculate a route.
I now would love to get the values of "weight-name", "distance" and "duration" to make some calculations in my app.
How can i get these? Is there for example a function that returns the response JSON back to me?
Any nudge in the right direction is much appreciated, thanks in advance!
The text was updated successfully, but these errors were encountered:
Hey folks,
Absolute beginner with APIs in general and more so with Mapbox here.
I'm a student develoving a web-app for school and i'm using Mapbox GL JS with the directions plugin to calculate a route.
I now would love to get the values of "weight-name", "distance" and "duration" to make some calculations in my app.
How can i get these? Is there for example a function that returns the response JSON back to me?
Any nudge in the right direction is much appreciated, thanks in advance!
The text was updated successfully, but these errors were encountered: