Getting Google Map MarkerClusterer Plus Icons In One Color

前端 未结 2 930
渐次进展
渐次进展 2020-12-19 00:10

Can some one please let me know how to set MarkerClusterer plus to show all Clusters in One color? as you can see the MarkerClusterer automatically changes the color of the

2条回答
  •  隐瞒了意图╮
    2020-12-19 00:52

    Hi the colors are defined by the images which came with the cluster.js file

    Your images will range from m1.png to m5.png:

    markercluster/images

    Just copy the images and make them all the color which you want

提交回复
热议问题