-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
Description
Changing the cluster property on a <Source> component does not update the cluster options of the source.
Expected Behavior
setClusterOptions() should be called on the source, instead only setData is called
| (source as GeoJSONSourceImplementation).setData(props.data); |
Steps to Reproduce
https://codesandbox.io/p/devbox/fancy-dew-9ks4tr
The "Cluster" button should switch between clustered and unclustered, but nothing happens. To see what should happen fork the sandbox and change the default clustered state.
Environment
- Framework version: [email protected]
- Map library: [email protected]
Logs
No response