-
Notifications
You must be signed in to change notification settings - Fork 509
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
Offline API #42
Comments
How far are we with this feature, any PRs necessary? |
Looks like side-loading is outdated - guides on the website no longer tell how to make and download |
Will put this link for those interested. It explains how to generate a database for side-loading: https://github.com/mapbox/mapbox-gl-native/wiki/Sideloading-offline-maps I will explore if it's possible to side-load downloaded files with path_provider like explained here: https://medium.com/@danaya/download-assets-dynamically-in-flutter-16c3472a65e5 |
Thank you for the link. Also eager to hear about developments for the offline capabilities! |
So far I have managed to side-load offline map from the network and put it to MapBox with path_provider. You can follow articles mentioned above |
The wiki seems to be deleted. Could you provide the instruction for side-loading? Thank you |
Any news about how to make tiles.db ? |
Here is what I got from MapBox support.
What they are saying is that you can sideload and do offline on your own, but officially they are no longer ready to spend resources on supporting sideloading functionality. mbgl-offline tool still should be available in this repo: https://github.com/mapbox/mapbox-gl-native Example usage was
|
It's also kind of possible to do something similar with GUI tool |
I have also seen a few apps that would allow directly in the app to select a region and it would be downloaded for offline usage. Didn't explore this part yet, probably there should be something in SDK for this |
I think @maximumbuster is working on a PR for an offline API, which would allow you to select and download offline regions at runtime. (There's also discussion about this feature at #88) |
Thanks @AAverin I don't understand how |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
can someone help me on getting .db files |
Add support for offline API.
The text was updated successfully, but these errors were encountered: