-
Notifications
You must be signed in to change notification settings - Fork 36
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
Issues in "Properties" field #202
Comments
the same problem after the ob version is updated to V1.4.5, the traditional way of adding loctions in font matter is not available |
Same problems here. "Convert to Geolocation (geosearch)" isn't working for me either since updating to 1.4.5 (using Google API), but that could be a separate issue. This is a great plugin! I'm surprised Obsidian didn't include "Location" (or "Coordinates"?) as a Property type. |
Same, I just opened Obsidian and it seems it's auto updated without asking me and this plugin no longer works properly. Existing notes show on the map, but the coordinates of new notes don't change orange and don't show on the map. |
Same here. Until a fix is developed, a workaround is to use inline location URLs instead of frontmatter. From the documentation:
|
The Obsidian devs guaranteed that an API for plugins to define custom field types are coming, and hopefully this will bring back the ability to use the front matter as we're all used to. It sounds like you all are editing the YAML manually, which I never do, which explains why I didn't run into this problem in spite of using "properties" for a very long time (I'm an Obsidian alpha tester, so been running with this even before it was available to insiders). AFAIK the tools for adding geolocations to a note work as usual -- I'm using "add geolocation (front matter)" on an almost-daily basis with no issues.
|
I have found that many places I add don't show up in the search for "add geolocation", so I've gotten into the habit of just pasting coordinates from Google Maps into front matter directly (I have a place template that includes a blank "location:" in the front matter). I had not realized that I could paste the coordinates into the "add geolocation" search, so that fixes the problem I had been having. Thanks for that information! |
One of my goals in Map View is to make the flow as automatic as possible, so the more the plugin progressed, I was trying to minimize the occasions on which you would need to edit YAML fields or coordinates. Maybe I should give this more emphasis in the documentation. |
Thanks for the replies! but in my case, I have to change my geolocation (or move) sometimes and a compromised solution for me is
(Answer to Q1: editing the YAML manually is just another compromised solution, but it's really not easy/ stupid.) so regarding this way, I suggest, add one more option in right-click-menu: "change the location property in current file", so that we dont have to create a new file only to change a location. which I think would be a simple solution for now, and it remains a good small option for the guys who need to change their location even if the API comes and things works normal again. : ) |
Another way to currently renew/edit a geolocation is to remove it (click the icon of the property and click "remove" in the menu) and re-add using the regular Map View command. |
I think this issue simply stems from Obsidian's YAML formatting requirements in list properties. For instance, using the following list properties to test produces: location working:
- "23.57"
- "23.76"
location:
- 23.57
- 23.76
List Test:
- "23"
- "2345678"
- "432.645334"
- Bob
- "[[Bob]]"
- Bob the Builder
- "#$@##%" Obsidian wants |
Hi, any news about how to insert coordinates in property field? |
I'm not sure what's doable in my jurisdiction to improve direct editing of front matter coordinates, as the Obsidian props editor still hasn't introduced an API or support for geolocations. |
So since by default the location is added as [x,y], why don't have it added by default as "[x,y]"? It will be then recognised as a string and editable. |
@Satanniel I agree, this would fix the problem completely. If this does not work for whatever reason, you could instead add the latitude and longitude as separate bullets in a list property, surrounded by quotations like Obsidian formatting needs. For example:
|
I have the same issue of not being able to change the location, but I came up with a workaround using a combination of the Commander plugin and the Linter plugin, which I hope may be helpful towards finding a more permanent solution.
The weaknesses of this method I have just described are as follows:
|
Should now be fixed as part of 5.0.0. |
the geolocation info in Properties field turns orange and cannot be change (unless open .md file external and edit it manually).
(there is also a interesting way to change it: in map right click, "new note here(front matter)", copy the field, place it in the original file after deleting the old one.)
right-click-menu: "copy geolocation as front matter" wont work unless the file is blank (or the Properties field ist blank).
for now, the "location" way has issues, but "locations:" way works great.
Regarding the funny way of changing the "location:" filed that mentioned above, I was wondering, if it's a good idea to add one more option in right-click-menu: "change the location property in current file". which I think is a simple way to fix the first issue.
Thanks a lot for making and maintaining this great Plugin!
The text was updated successfully, but these errors were encountered: