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.
我有多个位置,我通过特定纬度/经度坐标处的图钉在 bing 地图上显示。有一种情况,2 个图钉具有相同的坐标,并且都堆叠在彼此的顶部。所以用户不能点击或看到下面的图钉。请提出解决方法或任何想法。
一般的做法是显示某种集群图标,让用户看到该图钉所代表的位置不止一个,然后当用户单击/悬停在图钉上时显示一个消歧框,让他们选择他们要选择的位置想选择。这与您在地图上对图钉数据进行聚类的方法相同 - 将几个不同的数据项聚合到单个聚类单元中。