esm7 / obsidian-map-view

Interactive map view for Obsidian.md
MIT License
548 stars 25 forks source link

Map markers disappearing in embedded views #151

Closed RenewedMe closed 11 months ago

RenewedMe commented 1 year ago

Big fan of this plug in. I am using it to plan all my trips. I have a problem in one note: the embedded maps do not show any old the markers until I make an edit somewhere in the front matter (e.g. by adding a space after locations: in the front matter) and then move the cursor away from the front matter; then they show again until I move to another note and then reopen the note with then problem. Again the markets do now show in any of the embedded maps until I make a change in the front matter again. Note that I am using Map View in combination with the Banner plug in. Note2: if I remove the query (which was pointing to only geolocations from the note itself) all embedded views show markers correctly

esm7 commented 1 year ago

Wow, that sounds strange and probably hard to reproduce. Few questions:

  1. Does it happen in every note with embedded maps or just specific ones?
  2. Do you mind making a video showing the issue, which might help me understand it better?
  3. Can you check the Obsidian Developer Console (Ctrl+Shift+I) to see if it contains any errors while the issue is happening?
  4. Can you paste here the code block you are using for the embedded map?