0
任何一个时隐藏多个标记知道如何避免在多个时间显示同一个标记如何缩小
latlngbounds.extend(markers[i].getPosition());
map.setCenter(latlngbounds);
map.fitBounds(latlngbounds);
任何一个时隐藏多个标记知道如何避免在多个时间显示同一个标记如何缩小
latlngbounds.extend(markers[i].getPosition());
map.setCenter(latlngbounds);
map.fitBounds(latlngbounds);
可以实现该功能BU使用谷歌地图标记集群。
Greate教程在这里。如果你喜欢这个
https://googlemaps.github.io/js-marker-clusterer/docs/examples.html
感谢....放弃投票。 –