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.
我有一张地图,其中我在标记周围放置了圆形多边形。当我在地图中单击时,标记会移动到该位置。当我在圆圈中单击时,它不会移动标记,因为我认为 Polygon 会捕获单击。我可以以某种方式阻止多边形捕获点击吗?
将多边形的clickable-option 设置为false
clickable
false