I'm trying to place a MapLabel on top of a Polygon in Google Maps V3. I've tried to set the MapLabel zIndex to 2 and the Polygon zIndex to 1 without any luck. Isn't this possible since the Polygon doesn't really follow zIndex?
I've created a jsFiddle for you guys to check out: http://jsfiddle.net/7wLWe/1/
Solution: In maplabel.js
change:
mapPane.appendChild(canvas);
to:
floatPane.appendChild(canvas);
The reason is because floatPane
is above all map layers (pane 6)
http://code.google.com/apis/maps/documentation/javascript/reference.html#OverlayView