在谷歌地图V2实现getDirection [英] Implement getDirection in google map V2

查看:231
本文介绍了在谷歌地图V2实现getDirection的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有。什么我想predefined位置的标记是从我的当前位置,我从GPS获得获得方向的标记。
我试过很多SO联系,但他们并没有帮助,因为只有对谷歌地图V2几个环节。这将是美好的,如果我得到同样的一些更新的教程或code片段。

I have a marker on a predefined location .What I want is to get the direction to that marker from my current location which I get from the GPS. I tried many SO links but they didn't help as there were only few links for Google maps v2. It would be wonderful if I get some updated tutorial or code snippets of the same .

推荐答案

检查这个例子,我觉得很适合你的要求,<一个href=\"http://wptrafficanalyzer.in/blog/driving-route-from-my-location-to-destination-in-google-maps-android-api-v2/\"相对=nofollow>链接

Check this example i think it suits your requirement link

这篇关于在谷歌地图V2实现getDirection的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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