Hi Henrique, thank you very much, with your suggestion I was able to solve my problem.

I wonder if you know how to route routes in the maps? For example, showing the path from one point to another. And how to calculate the distance to know the shortest distance?

About the routes, are you talking about directions or is something different?

About the distance, I don't know if google provides a service to calculate the distance between to points. If the distance is on a rect line you can always use the Haversine formula (see an example of the implementation here).

PS: If it solved the problem can you mark my answer as the correct one, thanks.

About the routes, are you talking about directions or is something different?

About the distance, I don't know if google provides a service to calculate the distance between to points. If the distance is on a rect line you can always use the Haversine formula (see an example of the implementation here).

PS: If it solved the problem can you mark my answer as the correct one, thanks.

Cheers,

Henrique

Solution

Quick Reply

Notify me by email when someone answers to my post