-
-
Notifications
You must be signed in to change notification settings - Fork 743
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
modify the cluster property true/false #1384
Comments
I have a feeling this was already reported, any change you can have a look? |
Yes, I did look into the docs before posting this issue |
Somewhat related: #429 |
Hi again |
Sure, enjoy! 😀 |
Just made a pull request #1998, tell me if I need to modify anything |
Looks like this should be closed since #1998 has been merged. |
Yes, I added the feature, maybe when it's released? |
Hi
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 this instead:
map.addSource('some id', {
type: 'geojson',
data: geodata,
cluster: true,
clusterMaxZoom: 14,
clusterRadius: 50,
});
//
//
map.getSource('some id').setCluster(false)
The text was updated successfully, but these errors were encountered: