Android的谷歌地图的API获取路线编程 [英] Android google maps APIs get directions programming

查看:163
本文介绍了Android的谷歌地图的API获取路线编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我是新来的Andr​​oid谷歌地图API。我从这个补习学习它: http://mobiforge.com/developing/story /使用 - 谷歌 - 地图 - 机器人但没有任何提及2点之间获得的方向。是否有任何的API可以在 HTTP做这个任务:?//$c$c.google.com/android/add-ons/google-apis/reference/index.html

I am new to Android google maps APIs. I am learning it from this TUT : http://mobiforge.com/developing/story/using-google-maps-android but there isn't any mention of getting the direction between 2 points. Is there any APIs can do this task in http://code.google.com/android/add-ons/google-apis/reference/index.html ?

感谢事先!

推荐答案

谷歌地图API不提供任何路由功能。您可以使用意图火的谷歌浏览器(假设它是您的设备上)或谷歌地图版本(所提到的花郎)

Google maps API does not provide any routing capabilities. You can use an intent to fire the google navigator (assuming it's on your device) or the the google maps version (as mentioned by Hwa Rang)

有一些教程做的API此之外,但被告知在谷歌禁止由turn导航实现转,显然简单的路由是确定的,但。

There are some tutorials to do this outside of the API, but be advised the google prohibits implementing turn by turn navigation, apparently simple routing is ok though.

如何添加路由到Google地图

这篇关于Android的谷歌地图的API获取路线编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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