javalent / obsidian-leaflet

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

All map icons are now squares #293

Closed oyvindsolstad closed 2 years ago

oyvindsolstad commented 2 years ago

All marker icons have gone square. Tried the usual (quitting the app, checking for updates).

Skjermbilde 2022-03-28 kl  18 17 49

valentine195 commented 2 years ago

Can you see them in settings?

Also, please let me know your OS and Obsidian version

oyvindsolstad commented 2 years ago

Settings:

Skjermbilde 2022-03-28 kl  18 32 15

They are good in Settings. MacOS Monterey 12.1 (latest). Latest public Obsidian version (0.14.2) - which I downloaded and installed between the first post and this (saw that it came out now, this hour).

Problem exists in newest version too.

oyvindsolstad commented 2 years ago

Ok, I opened the code on some of them, changed the ID, and now they seem to be working ok. Nothing wrong with the IDs, I just changed a letter to see if they changed when getting a new ID.

So seems that did the trick, on all maps I have checked so far.

oyvindsolstad commented 2 years ago

Yep, checked 15-20 maps. All are ok now. Consider it closed on my behalf.

EDIT: Nope, still errors on some maps. I'm trying to find a pattern to figure out why some are ok, and others not.

Skjermbilde 2022-03-28 kl  18 46 38

valentine195 commented 2 years ago

I can actually see this too - having one specific map open is causing it. I'll try to investigate.

valentine195 commented 2 years ago

Do you have Live Preview as your default editing mode?

oyvindsolstad commented 2 years ago

I switched from the Legacy editor to the new one, a few days ago. Switching back to test.

oyvindsolstad commented 2 years ago

Works perfectly fine with the legacy editor.