I have a setup similar to google maps where I have a main canvas (the
map) and some controls (the map controls).  I would like my setup to
work similarly, where a double-click on the main map canvas does one
thing, but a double-click on the map control is essentially two clicks
(which I've got working), but the problem is the double-click event
also fires on the main canvas, which I don't want.  The google example
is double clicking on the zoom-in button but that does not fire a zoom
and center to the map like a double-click would.

My first question is this ... what is the hierarchy of the bubble?  Is
it DOM related or z-index related?  I have my control at a higher z-
index than the canvas, so the control images receive events, but it
appears the events are also making it to the canvas.

For the DOM hierarchy, I add the control to the canvas, so the canvas
should be higher than the control.  Which way does the bubbling work?
I would think from the inside out, but it doesn't appear that way.

Any suggestions?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to