使用 Google Maps API 的 Android 应用的离线模式
有没有办法在使用 Google Maps API 的 Android 应用中使用离线模式?
Is there a way to use the offline mode in Android apps using the Google Maps API?
任何指向教程或源代码的方向都会有很大帮助.我一直在寻找几个小时没有任何运气.我知道 Google 已经发布了一种离线使用地图的方法,但是 Android 开发者可以使用它吗?
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?
查看此解决方案或这个.基本上,您只需创建自己的 tileprovider 并在本地访问磁贴.使用 v2 API 完全可行.API 参考
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
有一些虚假信息四处流传,即 v2 Google Maps API 需要互联网连接.有一个问题,API 需要在应用安装后进行一次访问才能通过 Google Play 服务进行验证,但我相信这已得到修复.
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.