谷歌地图的算法 [英] Google Maps algorithm

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

问题描述

如何才能实现算法,例如Dijkstra算法或回溯上集成在Android的谷歌地图?例如,我想这样的,我付出的最低价格天然气来计算,从A市的路由到B市。

how can I implement algorithms such as Dijkstra or backtracking on Google Maps integrated in Android ? For example I want to compute a route from city A to city B such that I pay the lowest price for gas.

推荐答案

勾选此<一个href="http://stackoverflow.com/questions/2023669/j2me-android-blackberry-driving-directions-route-between-two-locations/2023685#2023685">post.它具有路由发现为例。谷歌删除路由查找的API。但是,我们必须开发出$ C $下使用重叠在画路线。这是该工作的例子是什么做的。

Check this post. It has the Route finding Example. Google removes the Route finding api. But we have develop the code for the draw the route using Overlay. this is what done on that working example.

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

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