如何才能实现算法,例如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.
勾选此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.