Hi all,

  Does anyone know how to snap a user clicked point to a street in the
version 3 of the GMaps API?

  I tried the trick of asking for directions from the clicked point to
the same point used in
  http://econym.org.uk/gmap/example_snap.htm
  only I used the directionsservice in v3 instead of Mike's
implementation on v2.

  I inspected the returned result using alert(result.toSource()) in
Firefox and result.routes[0].legs[0].start_point is undefined within
the result object returned by the direction service.

  I have also tried the reverse geocoding trick, but sometimes the
nearest address is quite far from the clicked point (think rural areas
near to Indianapolis: I am using this to track bike rides among other
things).

  Any help on this matter is appreciated.

  Thanks,

  G. Rocha

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to