Reading this:
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines
might help you get an answer...

On Thu, Oct 23, 2008 at 1:48 PM, Stefan Sturm
<[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I build my own InfoWindow using GOverlay. This work weill, exept an
> event problem.
>
> This is what I did:
> In the initialize function of the GOverlay I create a div for my InfoWindow.
> Now I add two eventListener:
>
> // div listener
> GEvent.addDomListener( div, "click", function() {
>        console.log( 'div click' );
> });
>
> map listener
> GEvent.addListener( map, "click", function() {
>        console.log( 'map click' );
> });
>
> The "div listener" should listen to a click inside the InfoWindow.
> The "map listener" should listen to a click outside of the InfoWindow.
>
> But this is not working. It doesn't matter where I click, only the map
> listener gets trggered.
> But when I remove the "map listener" the "div listener" get triggered,
> when I click inside the info window.
>
> Perhaps somebody can give me a tip how to solve my problem :-)
>
> Greetings,
> Stefan Sturm
>
> >
>



-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

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

Reply via email to