google-maps icon indicating copy to clipboard operation
google-maps copied to clipboard

Marker Clusterer Marker Customization

Open amillwood opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. Enhancement request: Allow for cluster marker customization

Does this feature exist in the Google Maps SDK for android and iOS? Please link the documentation for this feature. Google Maps Marker Clustering

Describe the solution you'd like Either enableClustering method to accept an optional parameter for a custom renderer, or a setClustererRenderer method in which parameters can be passed to customize the cluster marker

amillwood avatar Oct 14 '22 12:10 amillwood

are you able to cluster at all with this library?

sc-atompower avatar Dec 11 '23 17:12 sc-atompower

@sc-atompower It's been a while since I tried out this library. I ended up reverting back to using google maps with @googlemaps/markerclusetererplus because my use case required custom icons for the cluster markers. From what I remember, I was able to enable marker clustering with this package; I was just unable to customize the icon. I believe it defaulted to the icons shown here.

I looked at the source code, and I don't think it would be a huge effort to implement this change. I just haven't made the time to work on it and submit a PR.

amillwood avatar Dec 11 '23 18:12 amillwood