开发者

Setting overlays above polylines in google maps

开发者 https://www.devze.com 2023-03-08 06:57 出处:网络
I have been trying to开发者_运维问答 set overlay above polylines using zindex. I have tried using

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

0

精彩评论

暂无评论...
验证码 换一张
取 消