Skip to content
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

Marker duplication bug #85

Closed
gentlegiantJGC opened this issue May 16, 2022 · 1 comment
Closed

Marker duplication bug #85

gentlegiantJGC opened this issue May 16, 2022 · 1 comment

Comments

@gentlegiantJGC
Copy link
Contributor

If the same geo url appears twice in the same file it causes the number of pins to increase each time the map is updated.

I think this is a bug with the way you unload markers. It might make sense to unload all markers from a file when that file is changed or deleted rather than having to check if the marker is the same as other markers.

Put this in a file and move the map around.

---
locations: 
---
[](geo:51.50875957008922,-0.07710009813308717)
[](geo:51.50875957008922,-0.07710009813308717)
@esm7
Copy link
Owner

esm7 commented Jul 25, 2022

Fixed in the latest 2.1.x release.

@esm7 esm7 closed this as completed Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants