Use of MBTiles in offline iOS app

后端 未结 2 1313
慢半拍i
慢半拍i 2021-01-20 04:50

I already have a map stored using the MBTiles format that I want to use in an app I am making. It is vital that the app will run with no signal/connection on the mobile devi

相关标签:
2条回答
  • 2021-01-20 05:03

    We'll be re-adding MBTiles support back to the SDK 2.x series. Watch this space: https://github.com/mapbox/mapbox-gl-native/issues/584

    0 讨论(0)
  • 2021-01-20 05:22

    MBTiles can be displayed in the Mapbox Maps iOS SDK by hosting a web server within your app and pointing the map to localhost. I've posted my solution here:

    https://gist.github.com/namannik/3b7c8b69c2d0768d0c2b48d2ed5ff71c

    0 讨论(0)
提交回复
热议问题