Hi Steffen, I'll take a look. Meanwhile to avoid surprising changes, you can specify an API version like: http://maps.googleapis.com/maps/api/js?sensor=false&v=3.3
See the versioning documentation for more details: http://code.google.com/apis/maps/documentation/javascript/basics.html#Versioning Cheers Ben On Mar 6, 2:35 am, Steffen <[email protected]> wrote: > I was using since months the click event of a marker for displaying a > custom overlay. > This was easy since the click event passes the native mouse event > which includes the "target" element. > > Therefore, something like this was possible: > > google.maps.event.addListener(marker, 'click', function (e, info) { > console.log(e.target); > > }); > > This conforms to the documentation, which says the click event gets > passed the "Event". > > Suddenly I recognized, that this is not working anymore, but the > documentation still says "Event". > Now, it gets passed the Google Maps "MouseEvent", which just passes > the x and y coordinates of the location of the link. > > What is happening? > > The rolled back to my code version where I implemented that stuff and > where I'm 100% sure that it worked. > Another project of mine is affected as well, and I haven't changed the > code since the last time I saw it working. > > Anybody any ideas?? > > 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]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
