如何离线显示谷歌地图? [英] How to show google map offline?

查看:130
本文介绍了如何离线显示谷歌地图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以离线显示Google地图吗?



我已经经历了各种各样的计算器问题和答案,但无法找到解决方案。



code> com.google.android.gms.maps.MapFragment ,我正在展示从一点到另一点的方向。我有GMapV2Direction的坐标。



    以下是我从stackoverflow得到的链接,但没有用。





    请帮助!!!

    解决方案

    请参阅此解决方案这一个。基本上你只需创建你自己的tileprovider并在本地访问tile。完全可以使用v2 api。
    API参考资料


    有一些虚假信息浮出水面,因为v2谷歌地图API需要互联网连接。有一个,但在API安装后需要一次访问才能验证Google Play服务的API,但我相信这已得到修复。请参阅

    How i can show google map offline?

    I have gone through various stackoverflow question and answer but not able to find solution.

    I have implemented com.google.android.gms.maps.MapFragment and i am showing direction from one point to other. I have got coordinates from GMapV2Direction. Now i want to show this as offline.

    Following are the links i got from stackoverflow but not useful.

    Plese help!!!

    解决方案

    See this solution or this one. Basically you just create your own tileprovider and access tiles locally. 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

    这篇关于如何离线显示谷歌地图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆