ramp4-pcar4 / ramp4-pcar4

RAMP 4 - The Reusable Accessible Mapping Platform, fourth major version
https://ramp4-pcar4.github.io/ramp4-pcar4/main/docs/
Other
17 stars 22 forks source link

Map Point Clustering #2062

Open szczz opened 12 months ago

szczz commented 12 months ago

Description

Most mapping platforms include point clustering (consolidating several local points into a group). It would be really beneficial for some applications that use RAMP such as CAM.

I think it makes sense to make this feature as configurable as possible, for example:

Feel free to suggest other configurable options.

james-rae commented 12 months ago

IIRC the ESRI clusterers are passive. So things like the "on-click behavior", and the idea of it flowering out are likely very limited.

This sample is their "advanced" demo so should be flexing the complex end of things. https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-filter-slider/

Options we make available will need to align with options ESRI supports.

https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCluster.html

dnlnashed commented 11 months ago

Spent some time looking into point clustering. Definetly doable and very customizable if we want it to be. I've posted a discussion talking about point clustering design, as well as a demo PR for others to play around with it