javalent / obsidian-leaflet

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

Use frontmatter to find notes #284

Closed Signynt closed 1 year ago

Signynt commented 2 years ago

I keep the locations I visit in my front matter of my daily notes, so that they can easily be queried by dataview. Example:

---
visited: ["[[Restaurant]]", "[[Park]]"]
---

It would be great if I'd be able to show those notes as the map markers, similar to linksFrom: but using the notes listed under that front matter item. Since currently using Dataview for finding notes or tags is possible this seems like it would be doable. Another alternative that would be even more powerful would be able to put in dataview queries directly into leaflet!

valentine195 commented 2 years ago

dataview queries directly into leaflet!

Yes, I would love this, but it will require this issue to be closed which I have had open for months.

I will think about how to implement this, shouldn't be too hard, just need the time.

sigrunixia commented 1 year ago

Still love the idea of this @valentine195 ? :)

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.