Google Maps Algorithm

how can i implement algorithms like dijkstra or backtracking on google maps integrated in android? For example, I want to calculate the route from city A to city B in order to pay the lowest price for gas.

+6
android algorithm google-maps
source share
2 answers

Mark the message . It has an example route search. Google removes api route search. But we developed a code to draw a route using Overlay . this is what is done on this working example.

+1
source share

Since Google Maps does not provide access to actual traffic data, I don’t think that you can implement your own routing algorithm.

You can use traffic data from another source, such as http://openstreetmap.org .

+1
source share

All Articles