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
[BUG] hide/show advanced markers does not work #625
Comments
If you would like to upvote the priority of this issue, please comment below or react with 👍 so we can see what is popular when we triage.@vicb Thank you for opening this issue. 🙏
This is an automated message, feel free to ignore. |
I have done a screencast of the issue. Also I tried to |
Good afternoon. Same problem. Already have a solution? |
Was there ever a fix for this? I am having the same issue. |
Did a little debugging on this. The |
A workaround is to iterate
See ln 47-53 of this jsFiddle. |
@amuramoto your fiddle is working as expected but in my code I am receiving a ts error. I have attached the screenshot below. Any way to work around this? |
I got it working by ignoring the warnings/errors. This does hide the markers and clusters, but once you zoom in/out, they rerender |
Hello, any news on this ? |
Environment details
I am using the beta channel of Google Maps and
@googlemaps/markerclusterer
at 2.1.3I am adding a bunch of marker to a clusterer:
At this point everything works fine.
Then I hide the markers:
After that all the markers are hidden as expected
Then I want to show the markers again:
That has no effect.
I would effect the marker the show after this call.
But I have to zoom (either in on out) for the marker to re-appear.
I would be up to create a repro if you have a starter template - all the GMaps starters for the JS API website seem to have an issue with the API key.
The text was updated successfully, but these errors were encountered: