javalent / obsidian-leaflet

Adds interactive maps to Obsidian.md using Leaflet.js
481 stars 29 forks source link

Feature backref from note to the map centered at location #344

Closed jonrosa closed 1 year ago

jonrosa commented 1 year ago

Hello, First i wanted to thank you for this amazing plugin.

I didn't find a way to achieve this goal but maybe it's something possible.

The idea is to have a backref in my notes (which have a marker on my map) that open the map centered to the location of my note's marker, ideally i would like to define a zoom when opening the map. With "Code block" i was able to have a reference to the map of my note but this only open my map at its default position.

Thank you!