Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marker Clusterer Marker Customization #199

Open
amillwood opened this issue Oct 14, 2022 · 2 comments
Open

Marker Clusterer Marker Customization #199

amillwood opened this issue Oct 14, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@amillwood
Copy link

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 amillwood added the enhancement New feature or request label Oct 14, 2022
@sc-atompower
Copy link

are you able to cluster at all with this library?

@amillwood
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants