On Jan 22, 7:09 am, sudarsan <[email protected]> wrote:
> Hi,
>     Iam having a big doubt . I want to find the distance to the
> nearest tube from the pincode given. iam working in php,and think the
> google maps play a good role in my work. can anyone help in solving
> this problem.
> Regards
> Sudarsan.

Two issues: UK postcodes (I assume that's what you mean by pincode)
are not accurate. And you need to find the nearest Tube station -- for
that you need to know where Tube stations are.

If you have a list of Tube station locations, then finding the nearest
to a particular point is easy. With around 270 stations, it could even
be done client-side without too much trouble. (Loop through the list
and use GLatLng.distanceFrom())

Andrew

-- 
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