Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找在其他人之上显示标记的 javascript 代码。 可能有任何GMarker方法在顶部设置标记(z-index 类型)。
对于解决方案,我销毁标记并再次创建。该解决方案在一段时间之前有效(当我尝试此解决方案时)但现在不行。
有一个参数zIndexProcess。
var marker = new GMarker( latlng, { zIndexProcess: "your z index for marker" } );
应该管用。
也检查这个链接。
http://econym.org.uk/gmap/zindex.htm