Google Maps V3 Overlapping Markers on exact Location

后端 未结 6 832
陌清茗
陌清茗 2021-02-19 07:45

I am having issues with markers overlapping, please do not down vote as I am not highly schooled in javascript also I have looked at the different answers offered on stackoverfl

6条回答
  •  忘掉有多难
    2021-02-19 08:15

    If you don't want markers overlapping, you'll probably need to use google-maps-utility-library-v3. It has a feature called Marker Clusterer, which basically allows you to put nearby markers into one singular marker. It can be configured so that these markers reappear as separate entities once the user has zoomed in far enough. Here's a demo.

提交回复
热议问题