What steps will reproduce the problem?
1. Create the map with enableDoubleClickZoom().
2. Create a LabeledMarker with a text label.
3. Add a dblclick event handler to the marker that zooms to a predetermined
zoom level (eg 8).
4. Add the marker to the map.
What is the expected output? What do you see instead?
Expected result: Double clicking on the marker or the label should zoom to
the desired zoom level.
Actual result: Double clicking on the label zooms to one more than the
required zoom level as the double click event is also fired on the map. The
label should stop the double click event from bubbling up to the map.
What version of the product are you using? On what operating system?
2.139 on Windows XP.
Please provide any additional information below.
Sample code to stop event bubbling from label div to map div.
if (!e) var e = window.event;
e.cancelBubble = true;
if (e.stopPropagation) e.stopPropagation();
Original issue reported on code.google.com by girgis.m...@gmail.com on 27 Jan 2009 at 12:16
Original issue reported on code.google.com by
girgis.m...@gmail.com
on 27 Jan 2009 at 12:16