how to get all markers on google-maps-v3

前端 未结 6 2074
南方客
南方客 2020-12-05 01:51

Is there a way to get all the markers on Google Maps?

6条回答
  •  粉色の甜心
    2020-12-05 02:20

    For an specific cluster use: getMarkers() Gets the array of markers in the clusterer.

    For all the markers in the map use: getTotalMarkers() Gets the array of markers in the clusterer.

提交回复
热议问题