bpillon / google_maps_cluster_manager

Simple Flutter clustering library for Google Maps
https://pub.dev/packages/google_maps_cluster_manager
MIT License
121 stars 94 forks source link

Minimum cluster size #42

Open philipacrowe opened 2 years ago

philipacrowe commented 2 years ago

Is it possible to set a minimum cluster size? so if the zoom level dictated 10 markers needed to be clustered together, but i had set a minimum cluster size of 5 i would see two 5 clusters instead of 1 cluster for the 10?

federicopolesello commented 1 year ago

Hi @bpillon, thank you for this awesome package! Do you have any news on this improvement? It would be very useful to have it. I'm coming from the native iOS application and there I used the following property from google-maps-ios-utils package to do what @philipacrowe asks:

https://github.com/googlemaps/google-maps-ios-utils/blob/637954e5bcb2a879c11a6f2cead153a6bad5339f/src/Clustering/View/GMUDefaultClusterRenderer.h#L115