Google Maps algorithm

后端 未结 2 1894
时光说笑
时光说笑 2021-02-09 21:43

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 pa

2条回答
  •  无人共我
    2021-02-09 22:31

    Since Google Maps doesn't provide access to the actual road data, I don't think it is possible to implement your own routing algorithm.

    You could use road data from another source such as http://openstreetmap.org .

提交回复
热议问题