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.
得到了一张地图 V7 和一层图钉作为实体集合。
这是疯狂的部分:当我弹出一个没有设置 innerHtml 的信息框时,它会弹出“超过”图钉。当我用我的内部 HTML 弹出信息框时,会在图钉实体集合下弹出。
我已将我的 innerhtml 索引为 100 等以高于所有,
似乎图钉实体层处于不同的级别,
有任何想法吗?
(我试图在其他实体集合上设置信息框 - 它确实在图钉顶部弹出 - 但随后 innerHtml 没有响应)
我遇到了同样的问题并通过以下方式解决了它:
这是我的信息框 html 代码:
<div id="infoboxText" style="z-index: 4000; position:absolute; font-size: 20px; background-color:White; min-height:50px;width:250px;"><div>