How to use an mbtiles database with Android TileProvider?

左心房为你撑大大i 提交于 2019-12-08 08:30:22

问题


What is the best way to use an mbtiles database with google's TileProvider?

I've been told that tiles as files are difficult to manage so i'm trying to use the mbtiles directly.


回答1:


Take a look here: https://github.com/cocoahero/android-gmaps-addons/blob/master/src/com/cocoahero/android/gmaps/addons/mapbox/MapBoxOfflineTileProvider.java

That class will do it for you.

I hope you can use it.



来源:https://stackoverflow.com/questions/22512949/how-to-use-an-mbtiles-database-with-android-tileprovider

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!