cybersthang / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

A click on the label of a LabeledMarker fires two onclick events on the map #126

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a clickable LabeledMarker with some label and add it to the map
2. Add a 'click' event listener to the map
3. Click the label of the LabeledMarker

What is the expected output? What do you see instead?
I expect to get one click event on the marker and one click event on the 
map with the marker overlay as an argument. This is the case if the marker 
itself is clicked (not the marker label).

Instead, if the label div is clicked, first a click event is fired on the 
map without an overlay, then a click event is fired on the marker and 
finally a click event is fired on the map with the marker overlay.

What version of the product are you using? On what operating system?
I'm using version 1.4 of labeledmarker.js and I have reproduced this 
problem in Firefox 3, Internet Explorer 7 and Safari 3 (Mac) and 4 
(Windows).

Original issue reported on code.google.com by kris.bre...@gmail.com on 24 Jun 2009 at 10:37

GoogleCodeExporter commented 8 years ago

Original comment by pamela.fox on 25 Jun 2009 at 8:06

GoogleCodeExporter commented 8 years ago
This seems to be the same problem as Issue #84.

Original comment by garylitt...@gmail.com on 13 Aug 2009 at 5:46