I think it's google.maps.event.addListener(...)
That's off the top of my head. My apologies in advance if I've mislead. - ryan. On Mon, May 3, 2010 at 10:40 AM, amar <[email protected]> wrote: > hi, > i was using v2. Now i shifted to v3. > > In version 2, this was working > GEvent.addListener(map, "click", function(overlay, latlng) { > myLatitude = latlng.lat(); > myLongitude = latlng.lng(); > > alert(myLatitude + ' data ' + myLongitude); > }); > > what should be the equvalant of this code in v3 ?? > > i searched a lot, but couldn't find any good result.. > > thanks > > -- > 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]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- 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.
