Offline mode for Android app using the Google Maps API

萝らか妹 提交于 2019-11-26 09:25:01

问题


Is there a way to use the offline mode in Android apps using the Google Maps API?

Any direction to a tutorial or source code would be a massive help. I\'ve been searching for hours without any luck. I know Google has released a way of using maps offline, but is it available for Android developers?


回答1:


See this solution or this one. Basically you just create your own tileprovider and access tiles locally. It is totally doable with the v2 API. API Reference

There's some false information floating around out there that the v2 Google Maps API requires an Internet connection. There was a but where the API would require a single access after app install to verify with Google Play services, but I believe this has been fixed.

See this and this.



来源:https://stackoverflow.com/questions/16525822/offline-mode-for-android-app-using-the-google-maps-api

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