I am using jquery to register a click event on the page like so:

$("html").click(function(){ // do stuff });

Except I don't want the click events to propagate to the google map or
any of its elements. I've tried:

$("#mapdiv").click(function(event){
    event.stopPropagation();
});

and altering the initial click register:

$("html").not("#mapdiv").click(function(){ // do stuff });

But no matter what, the google map fires all the page/html click
events. Is there any way to stop this behavior? 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.

Reply via email to