Hello,
I made e little example to show this problem:
http://demo.tripplanner.de
This shows a map with some markers. Just click one marker to open the
infowindow.
Now click inside the infowindow and see, that the infowindow gets
closed. And the firebug console only show the entry "map click".
But it should show "div click"...
The two Event listener still exists.
> // div listener
> GEvent.addDomListener( div, "click", function() {
> console.log( 'div click' );
> });
>
> map listener
> GEvent.addListener( map, "click", function() {
> console.log( 'map click' );
> });
Here are the two javascript files where everything about the map happens:
http://demo.tripplanner.de/scripts/tripplanner/googleMaps.js
http://demo.tripplanner.de/scripts/infobox.js
Hope somebody can help me on this :-)
Greetings,
Stefan Sturm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---