Hello Marcelo, again htanks for your help :-)
> Still, the same behaviour persists. > Reading the documentation, it looks as if G_MAP_FLOAT_PANE is above > everything else in the map, although a click on an overlay is indeed a > click on the map, so I think that it is the correct behaviour. > > If you add > map.openInfoWindow(map.getCenter(),'hello') > you get the same behaviour, namely a click on the map when you click > the infoWindow. The difference is that in the case of the standard > infoWindow, the first parameter to the click event is the infoWindow > itself, while in the case of your "infoBox" the first parameter is > null. > So, you can use that to differenciate the clicks. What do I need to do, that my "infoBox" will be send as the first parameter and not null? I think there should be a way to do this, because the infowindow can do it .-) When the first parameter is null I can't differ, if the click was inside my infoBox or outside on the map :-( Hope there will be a solution for that... Greetings, Stefan Sturm > -- > Marcelo - http://maps.forum.nu > -- > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
