edmckee / 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

Labels overlap in incorrect order #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Demo link or sample code:
See the attached image.  Here is a direct link to the same place: 
http://bedmap.com/map?q=Park+at+38th%2C+New+York%2C+New+York%2C+United+States&z=
17

What steps will reproduce the problem?
Labels appear to overlap in the wrong order when placed closely together, i.e. 
what should be a "background" label is displayed on top of a "foreground" 
marker.  It appears that the label's z-index is too high.

Expected result:
Expect the label to be displayed with z-index equal to its associated marker, 
so that foreground markers appear on top of background labels.

Actual result:
Background labels displayed on top of foreground markers in some cases

Version: MarkerWithLabel v1.1, Maps API v3.4

Browser / Operating System:
All

Original issue reported on code.google.com by njlavi...@gmail.com on 19 Apr 2011 at 12:04

Attachments:

GoogleCodeExporter commented 9 years ago
This may have been fixed in the latest release of MarkerWithLabel (1.1.4) which 
fixed a z-indexing issue specific to V3.4.

See http://code.google.com/p/gmaps-api-issues/issues/detail?id=3229

The latest version is here:
http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.
1.4/

Try it and let me know.

Original comment by garylitt...@gmail.com on 19 Apr 2011 at 2:42

GoogleCodeExporter commented 9 years ago
Oops, you are right.  I have moved to 1.1.4 and the issue seems to be gone now. 
 Thought I was already using the latest version -- thanks for your help.

Original comment by njlavi...@gmail.com on 19 Apr 2011 at 5:46

GoogleCodeExporter commented 9 years ago

Original comment by garylitt...@gmail.com on 19 Apr 2011 at 6:59