Specifically here:

http://code.google.com/apis/maps/documentation/javascript/events.html#EventArguments

Every single click returns the underlying latLng: it's one of the neatest 
elements of the API.

Remember to use the event.latLng to call another function outside of the 
event handler itself, with the latLng as the argument, just the way they did 
in the example.  That will make your code easier to maintain.

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