I have been trying to开发者_运维问答 set overlay above polylines using zindex. I have tried using
overlay.getPanes().overlayLayer.style['zIndex'] = 1001;
and setting zindex of polylines to 1. Does anyone know the correct method to have the overlays appear above polylines?
Try putting it on a higher pane, 'floatPane' being the highest.
Information on panes: http://code.google.com/apis/maps/documentation/javascript/overlays.html#Initializing
精彩评论