Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

How to read the mbtiles database #14139

Closed
songyuyang0918 opened this issue Mar 18, 2019 · 5 comments
Closed

How to read the mbtiles database #14139

songyuyang0918 opened this issue Mar 18, 2019 · 5 comments

Comments

@songyuyang0918
Copy link

Universal developer, I use the latest version of ios SDK, and now I need to read the mbtiles database to realize the offline map. I haven't found relevant examples in the examples, please help me, thank you!

@chloekraw
Copy link
Contributor

@songyuyang0918 - Thanks for using Mapbox! Please use this repo for bug reports and feature requests, and ask questions about using Mapbox on Stack Overflow: https://stackoverflow.com/questions/tagged/mapbox.

For your specific question, you might be looking for https://docs.mapbox.com/help/troubleshooting/mobile-offline/.

@songyuyang0918
Copy link
Author

Yes, I have read the connection you sent to me for many times, and I also found relevant examples in the document instance, but this example is only related to download. I have an mbtiles, but I still can't find relevant methods to run it directly..
I tracked down a long post and found that the local library read has been disabled?

@chloekraw
Copy link
Contributor

Ah, MBTiles is not a supported format for our offline functionality. There's some backstory here: #6862 (comment)

Adding support is something we want to do but it has not been prioritized and there is no timeline.

@songyuyang0918
Copy link
Author

Hello, thank you very much for your connection. I have been following and reading for a long time.
Now I want to ask you who are knowledgeable:
Does the current IOS framework support offline map loading? Regardless of format! If so, could you please give me a connection? Thank you very much!

@songyuyang0918
Copy link
Author

In addition, I saw the example of downloading offline map in the example, I personally think that MGLOfflineStorage is only responsible for the download work, so how to display the downloaded file, why is there no tutorial above the example?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants