maplibre-gl-js
maplibre-gl-js copied to clipboard
modify the cluster property true/false
Hi it seems like there's no way to modify the cluster property on the source without resetting the whole thing, is it possible to do something like that instead:
map.addSource('some id', { type: 'geojson', data: geodata, cluster: true, clusterMaxZoom: 14, clusterRadius: 50, }); // // map.getSource('some id').setCluster(false)
I have a feeling this was already reported, any change you can have a look?
I have a feeling this was already retorted, any change you can have a look?
Yes, I did look into the docs before posting this issue
Somewhat related: #429
Hi again Can I work on this, please?
Sure, enjoy! 😀
Sure, enjoy! 😀
Just made a pull request #1998, tell me if I need to modify anything
Looks like this should be closed since https://github.com/maplibre/maplibre-gl-js/pull/1998 has been merged.
Looks like this should be closed since https://github.com/maplibre/maplibre-gl-js/pull/1998 has been merged.
Yes, I added the feature, maybe when it's released?