You will have to use the formula to calculate distances between points on a 
spherical system like:

http://www.koordinaten.com/informations/formula.shtml

http://en.wikipedia.org/wiki/Great-circle_distance

Or google by: 
great-circle distance

Have fun
Telmo 

On 13 de Fev de 2011, at 06:54, Gonen <[email protected]> wrote:

> Hi,
> 
> I use Google Maps http API from excel VBA.
> 
> My question is:
> 
> I have two points. Say A and B.
> 
> I have point C,D,E,F as well.
> 
> Which is the quickest way, to know which of points C,D,E,F is located
> within x miles from my route between A and B ?
> 
> Thanks for any reply.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Maps API V2" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-maps-api?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to