javalent / obsidian-leaflet

Adds interactive maps to Obsidian.md using Leaflet.js
468 stars 26 forks source link

[Bug]: Main map don't render on open #406

Open Gourav1910 opened 12 months ago

Gourav1910 commented 12 months ago

Check for existing bug reports before submitting.

Expected Behavior

1) The main map that we open from ribbon by pressing of leaflet icon should render properly on first click. 2) It should save the marker on the main map.

Current behaviour

1) Whenever I click on it it render like this. image

Then when I make it full screen and come back then it render the complete map.

2) The marker that I put on main map disappear when next time I open the map. It doesn't save it.

Reproduction

1) I did nothing special. I just clicked on the leaflet icon in the side ribbon. My plugin and obsidian is updated to the current version. 2) I just right clicked on a point in map and created a marker and edited it by associating it with a note but it doesn't save it.

Which Operating Systems are you using?

Obsidian Version Check

1.3.5

Plugin Version

5.7.1

Confirmation

Possible solution

No response

craldaz commented 7 months ago

My map is not rendering on my mac. I am on version 6.0.0 but it was broken on a previous version as well before updating I think. It seems to work in a different vault. Maybe i have too many notes, or a plugin is causing an error

Screenshot 2023-11-27 at 10 33 08 AM