-
Notifications
You must be signed in to change notification settings - Fork 27
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
Old markers don't disappear when my v-for list changes #31
Comments
Hey, |
If you look at my PR, it already gives a partial solution to the problem. Though it doesn't solve it completely yet, it's still buggy. |
I ran into a similar issue.I display or hide markers depending on whether they are within the map bounds. |
Ok then, I merge your work Evertt and do a release. I will investigate to find out how to completely fix the problem. |
The title says it all. I have a bunch of markers that I render using
v-for="marker in markers"
wheremarkers
is a computed property.Whenever the computed property changes, the old markers don't disappear. Only new markers are added, which is not how it should be. This did work properly when I was still using the original
gmap-marker
.After further debugging I see it has to do with
gmap-cluster
. When I don't usegmap-cluster
anymore then it works as expected. But according to the readme, these custom markers should also work withgmap-cluster
right?The text was updated successfully, but these errors were encountered: