百度地图设置标注点在覆盖物上面

marker.Yc.parentNode.parentNode.style.zIndex = 99999; //让标注点再最上面

或者

map.getPanes().markerPane.style.zIndex = 9999

猜你喜欢

转载自www.cnblogs.com/Byme/p/9977761.html