Hey Ian,
Hope you are doing well.
I was curious to discuss, and potentially plan, a new plugin to Leaflet that would allow me to cluster polygons. Our use case does not need to cluster markers, but we have polygons on the map that would be much more user friendly if they were clustered and/or visualized differently at a very small zoom level (when they are small), such that the user can interact with them easier.
As it seems you have some experience in the space of clustering for performance, I was curious if you had any insights into where I could begin with this process, as well as if you would like to work together to build an open-source polygon clustering plugin for leaflet.
I have about 8 months of experience working with leaflet, mostly on the React side of things, but I would like to get involved in an open source library that would be of value to the company I work for as well as the community, which seems to have some demand for this.
An alternative approach would be to make a PR to the
leaflet-markercluster library with added polygon support, and then a subsequent PR to the
react-leaflet-cluster library, which wraps the base markercluster library to begin with. This approach would prevent additional dependencies for users, but would likely require some longer discussions about getting those PRs approved.
This is a handful, but i would love to make it happen. I will probably start working on it at some point if it is not addressed, but as of now, I am just too inexperienced to start the project without spending too much time on it myself.
Additionally, if you do not have time to work on this yourself, but like the idea, let me know and I will make it a novel conversation in the forum.
Thanks!
Charles Richardson