PublicVar / 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 cursor still a pointer after calling marker.setClickable(false) #172

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Create a map with a clickable but not draggable MarkerWithLabel.
2. Hover over the marker or its label. Both the label and marker has a pointer 
cursor.
3. Do something that causes the Javascript to invoke marker.setClickable(false).
3. Now, when hovering over the label the cursor is still a pointer, but not 
when hovering over the marker.

Expected result:

Neither the marker or the label should have a pointer cursor.

Actual result:

When hovering over the label the cursor is still a pointer, but not when 
hovering over the marker.

Version: 1.1.5

Browser / Operating System:

Indifferent.

Additional comments:

A workaround is to call marker.label.draw() after calling 
marker.setClickable(false).

Original issue reported on code.google.com by henrik.l...@gmail.com on 25 Apr 2012 at 11:16