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.
也许有人知道是否有可能获得集群标记列表。或者知道标记是否在集群内。问题是目前我地图上的每个标记也有关联的折线。但是当两个或更多标记聚集在一起时,我想隐藏这些标记的折线。有可能吗?
实现这一点的一种方法是在渲染它们时将标记添加到 h.map.Group() ,然后您将能够找到标记是否是组的一部分以及两个标记的接近程度。另一种方法是查看此标记聚类示例以组合标记(如果它们在附近)。