-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: Prevent Clustering with composable content from displaying default markers #615
fix: Prevent Clustering with composable content from displaying default markers #615
Conversation
Hi @darronschall , and thank you for this PR! Upon further checking it, it seems that using the two separate SideEffect blocks could have lead to race conditions, hence the reports on why this was not always reproducible. The explicit null check makes also the code safer in case of a race condition. I am still not able to reproduce it, but this should fix a potential concurrency issue. |
Probably fixes #549 |
I'd update this too: Lines 54 to 70 in 91b40fa
|
By the way, as I mentioned here, I really believe this is a bug in |
9aa32dc
to
8757935
Compare
…lt markers Wait until we have both a non-null clusterManager and renderer created before configuring the cluster manager listeners. This is a small optimization that prevents setting the listeners on the default renderer when the clusterManger is first created (before the renderer is created). Wait until the renderer is created before configuring the map for clustering. This prevents the default renderer from rendering markers.
8757935
to
fe45cb9
Compare
@kikoso I'm sorry for the delay here; got wrapped up in some other things. I finally had a chance to incorporate @gmazzotta-bit's suggestion around updating some additional code in the deprecated Rebased this off of main and force pushed for a clean history. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @darronschall
## [6.2.1](v6.2.0...v6.2.1) (2024-11-05) ### Bug Fixes * Prevent Clustering with composable content from displaying default markers ([#615](#615)) ([95c6306](95c6306))
🎉 This PR is included in version 6.2.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #569 🦕