有没有一种方法,以显示在谷歌地图API第2路方向? [英] Is there a way to show road directions in Google Map API v2?
问题描述
我一直在寻找使用谷歌和这里的答案,唯一相关的帖子中,我发现是:
I was looking for an answer using Google and here, and the only relevant posts i have found are:
但没有答案了。所以,我已经提到过它,但我会再说一遍。 我在寻找使用FragmentActivity和SupportMagFragment和经纬度对象的谷歌地图API V2的解决方案,而不是使用图形页面,MapActivtiy和GeoPoint对象。
but there is no answer there. So I have already mentioned it but I will say that again. I am looking for a solution for the Google Map API v2 using FragmentActivity and a SupportMagFragment and LatLng objects and not using MapView ,MapActivtiy and GeoPoint.
此外,我没有足够的覆盖对象使用,所以我无法描绘方向的地图上,是有这一种方法吗?
In addition i don't have the Overlay object to use so i can't paint the direction on the map, is there an alternative for that?
那么,有没有办法做到这一点?
So is there a way to do that?
在此先感谢。
推荐答案
尝试这种解决方案<一href="http://stackoverflow.com/questions/14495030/google-map-api-v2-get-driving-directions/15053901#15053901">here
你可以开车或步行上V2方向
try this solution here
you can get driving or walking direction on V2
这篇关于有没有一种方法,以显示在谷歌地图API第2路方向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!