On Sep 24, 2:05 pm, powtac <[EMAIL PROTECTED]> wrote:
> I do have the coordinates of 80 shops. And I have my current
> coordinates. How do I get the way to the nearest shop?
>
> Also small hint would be nice.
straight line distance:
GLatLng.distanceFrom(latlng)
if that isn't good enough and you want driving distance, filter the 80
points by straight line distance, calculate the driving distance for
the closest ones, then pick the one with the shortest driving
distance.

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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