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

Allow option for offline Maps sideload with dynamic tile fetching based on route line #1843

Closed
danesfeder opened this issue Mar 25, 2019 · 1 comment · Fixed by #1895
Closed
Assignees
Labels
feature New feature request.

Comments

@danesfeder
Copy link
Contributor

Similar to the offline routing work moving in #1829, we should allow side-loading of offline map tiles via String offline path passed through the NavigationViewOption.

  • This will allow developers to point the NavigationView to an offline.db that they have loaded on their device

The dynamic part to this comes into play if a route is request outside of the offline database originally provided.

  • Each time a new route begins navigation (start, off-route, etc.), we should create a geometry from it w/ a buffer and request the offline region
  • We can do this with each route, every time, because offline maps detects overlap for offline regions and will ignore requests for data that it already has

This will ensure that we keep data requests small but still allow developers some leniency when it comes to their original offline maps data.

@danesfeder danesfeder added feature New feature request. navigation-ui labels Mar 25, 2019
@danesfeder danesfeder self-assigned this Mar 25, 2019
@danesfeder
Copy link
Contributor Author

danesfeder commented Apr 2, 2019

Possible Turf work upstream needed to unblock this work mapbox/mapbox-java#987

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant