You can use the Reverse geocoder to find the address of the nearest point 
on a road known to the geocoder.  You could then compute the distance 
between the location returned by the geocoder and your GPS location (using 
the Geometry library).

However this is not foolproof - I have seen occasions when there has been 
over 750m difference between a map pin placed on a public road and the 
location returned by the reverse geocoder.


-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/9PfsJepen7QJ.
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-js-api-v3?hl=en.

Reply via email to