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

MapLabel: Can't get a label to show up in front of a polygon #122

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

First of all, MapLabel is awesome :)

If I render a new MapLabel and a new Polygon, the MapLabel always shows up 
behind the polygon.  Tweaking their relative zIndexes has no effect, even if 
the MapLabel's zIndex is greater, it stays stuck behind the polygon.  Any idea 
to get this working?  Thanks!

Original issue reported on code.google.com by nga...@gmail.com on 10 Sep 2011 at 3:36

GoogleCodeExporter commented 9 years ago
In maplabel.js change:

mapPane.appendChild(canvas);

to:

floatPane.appendChild(canvas);

Original comment by sermac...@gmail.com on 1 Apr 2013 at 11:32