javalent / obsidian-leaflet

Adds interactive maps to Obsidian.md using Leaflet.js
486 stars 30 forks source link

Maps appear as a grey square in Read View #324

Closed docwander closed 1 year ago

docwander commented 1 year ago

Since updating to Obsidian v1.0, all my Leaflet maps are a grey square in Read View, but appear as normal in preview in Edit Mode. My markers are unaffected. I'm not using snippets. I'm using default Dark theme, but it happens no matter what the theme is. The same thing happens when I try to create a new leaflet map.

valentine195 commented 1 year ago

I can't recreate this at all, sorry. Can you try re-installing the plugin? You might want to backup your data file in the <VAULT>/.obsidian/plugins/obsidian-leaflet-plugin folder.

docwander commented 1 year ago

Thanks for checking -- re-installing Leaflet didn't resolve the issue; it has something to do with the particulars of my Vault (but not snippet or theme related). If I create a new Vault and install Leaflet, it works fine. I must have done something.