Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to change the yaml property name map-view looks for #195

Closed
joecan00 opened this issue Aug 19, 2023 · 4 comments
Closed

Ability to change the yaml property name map-view looks for #195

joecan00 opened this issue Aug 19, 2023 · 4 comments
Labels
p1 High

Comments

@joecan00
Copy link

I currently use the yaml property field "location:" for more generic place names. I would like to use the yaml property name "gps:" for map-view coordinates instead of the default "location:" name. Would love to see this option added in the future.

Thanks for such a useful plugin!!

@esm7
Copy link
Owner

esm7 commented Aug 21, 2023

That's not as simple as it probably sounds, but I'm planning to refactor how Map View uses YAML (as nowadays Obsidian offers API to modify the frontmatter which didn't exist originally), and I'll look into doing this together.

@gfordinal
Copy link

@esm7 that would be great, as other plug-ins use the official api and break both empty yaml keys (as "location:" is) and array-like yaml values (as "location [lat, lang]" is) respectively.
Neither of those is valid yaml and I wonder how it appeared in the first place. If you need support developing, please hit me up, I may find some time or buy you a coffee instead.

I love your plugin, it saved me a lot of headache. Though with the official front matter api it unfortunately is not applicable anymore.

@esm7
Copy link
Owner

esm7 commented Sep 3, 2023

I started and will get it done, it's a matter of no more than a few work hours, I just need to find these 😅
If all goes as planned, should have the time this week or so.

@esm7 esm7 added the p1 High label Sep 3, 2023
@esm7
Copy link
Owner

esm7 commented Mar 7, 2024

Added as part of the just-released 5.0.0.

@esm7 esm7 closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1 High
Projects
None yet
Development

No branches or pull requests

3 participants