esm7 / obsidian-map-view

Interactive map view for Obsidian.md
MIT License
546 stars 25 forks source link

location: [xx, yy] - Interpreted as Title ๐Ÿ”ค๐Ÿ” ๐Ÿ”ก #210

Closed Danielkaas94 closed 3 months ago

Danielkaas94 commented 7 months ago

I tried this from your example, but it doesn't work, for some weird reason, it is interpreted as a huge Title? and no, there was no hashtags in my line

---
location: [40.6892494, -74.0466891]
---
esm7 commented 7 months ago

I guess I need to update the readme, since the front matter works differently now. If you use Obsidian's properties UI, you need to add a property named location and then add the value to it. However, why do you need to add the location value manually? Map View has so many tools to do it for you, from "new geolocation note" commands to various map tools and "add geolocation" menu item in notes... I think I haven't added a front matter manually for over a year. Is there a specific workflow on which you find it needed?

Danielkaas94 commented 7 months ago

โค๐Ÿงก๐Ÿ’›๐Ÿ’š๐Ÿ’™๐Ÿ’œ๐Ÿค๐Ÿ’œ๐Ÿ’™๐Ÿ’š๐Ÿ’›๐Ÿงกโค Sorry! I am a n00b with this plugin ๐Ÿ™ˆ โค๐Ÿงก๐Ÿ’›๐Ÿ’š๐Ÿ’™๐Ÿ’œ๐Ÿค๐Ÿ’œ๐Ÿ’™๐Ÿ’š๐Ÿ’›๐Ÿงกโค

javierseixas commented 7 months ago

Hi! Same issue here. I used to create a note from the Calendar plugin, and insert the property location manually. In this way, Obsidian doesn't detect it's a geolocation, so the coordinate doesn't appear later in the map view. How I can solve this?

esm7 commented 3 months ago

Should be fixed as part of the just-released 5.0.0.