本文介绍了Android - 如何获得从一个地方到另一个地方的估计驾驶时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要找到从一个地方到另一个地方的预计行驶时间.我有两个地方的纬度和经度,但我不知道该怎么做.是否有任何 API.帮助谢谢.

I need to find the estimate drive time from one place to another. I've got latitudes and longitudes for both places but I have no idea how to do that. Is there is any API for that.help thanks.

推荐答案

是的,您可以获得时间和距离值以及许多类似驾驶、步行等模式下的方向详细信息.所有你从谷歌方向 api 服务获得的

yes you get the time and distance value as well as many like direction details in driving, walking etc mode. all you got from the google direction api service

检查我们的这个链接

http://code.google.com/apis/maps/documentation/directions/

这篇关于Android - 如何获得从一个地方到另一个地方的估计驾驶时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-06 12:04