esm7 / obsidian-map-view

Interactive map view for Obsidian.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Marker duplication bug

gentlegiantJGC opened this issue · comments

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)
commented

Fixed in the latest 2.1.x release.