Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: Access Mapbox Telemetry total distance traveled in one session #4565

Closed
JanTG1 opened this issue Oct 20, 2023 · 2 comments
Closed

Comments

@JanTG1
Copy link

JanTG1 commented Oct 20, 2023

I want to display the total distance traveled using a navigation session to the user. Currently I do this by listening to the delegates and, each time a reroute is triggered, adding the route progress to any possible old route progress I had. The reason for this is that users often get reroutet on our navigation sessions due to some features we provide.
I am thinking that there must be a way to get access to the telemetry data, since mapbox is recording the total distance traveled in each session for billing purposes. How can I get access to that data?

@kried
Copy link
Contributor

kried commented Oct 30, 2023

Hi @JanTG1

There is no API to access this data. It is collected for Telemetry, analytics purposes.

@JanTG1
Copy link
Author

JanTG1 commented Nov 2, 2023

@kried Thanks for your reply! Would it be possible to make that data available? My implementation seems buggy at best and often fails to correctly add up all distances traveled, because users regularly get reroutet (often up to ten times per session). I don't see any reason why developers should not get access to that telemetry data, it would be way easier, safer and would avoid doing things twice.

@JanTG1 JanTG1 closed this as completed May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants