开发者

Setting overlays above polylines in google maps

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜