waqasriaz / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

MarkerWithLabel - label remains clickable even when clickable is set to false #45

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Repro

1. Set the 'clickable' option to 'false' for the provided MarkerWithLabelOption.
2. Note that the marker is no longer clickable but the label still is.

Expect

- The label is not clickable, and therefore the room that it occupies is still 
available for click-and-drag of the map itself.

Original issue reported on code.google.com by drewnoakes on 8 Oct 2010 at 2:37

GoogleCodeExporter commented 8 years ago
This issue has been fixed in the MarkerWithLabel trunk (the upcoming v1.1).

Labels are now clickable only if either clickable or draggable is true (same 
behavior as for standard markers).

Gary

Original comment by garylitt...@gmail.com on 7 Dec 2010 at 8:07

GoogleCodeExporter commented 8 years ago
Fixed in tagged release 1.1

Original comment by garylitt...@gmail.com on 12 Dec 2010 at 6:32

GoogleCodeExporter commented 8 years ago
This still isn't quite fixed.  It's true that the mouse cursor doesn't change 
to a pointer when over the label anymore, but it's still not possible to 
click-drag the map while the hand is over the label text.  It's possible to 
click-drag the map when the hand is over the marker, but as my labels are 
fairly long on the screen, it's increasingly likely that the user would try to 
click-drag from an area of the map covered by a label.

Please re-open this issue.

Original comment by drewnoakes on 14 Jan 2011 at 6:05

GoogleCodeExporter commented 8 years ago
I've just made the fix. Use the current trunk version and let me know if it 
solves your problem. If so, I will tag a new 1.1.1 release.

http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerwithlabel/s
rc/markerwithlabel.js

Original comment by garylitt...@gmail.com on 14 Jan 2011 at 6:30