tags:

views:

12

answers:

2

does someone know how can i add the distance ruler to my api map, or any other quick way to se the distance bwtween 2 direct points?

A: 

I'm not familiar with the Google Maps API, but given latitude and longitude of any two points you can use a great circle calculation to determine the distance between them.

Ferruccio
A: 

Maybe instead of do this by yourself you can use some ready functions of any spatial enabled database such as postgis for postgresql

Argiropoulos Stavros