Can anyone explain where/how Drafts get the location data?? I am trying to use location capture in Obsidian and am curious how Drafts is able to obtain gps location so quickly (as compared with accessing this information from shortcuts).
I would like to generate the same info directly in Obsidian, currently I am using Drafts to create some of my notes and sending them to Obsidian.
You could get your GPS coordinates from Drafts template tags (utilising draft.processTemplate() in JavaScript) and associate the result with whatever tolerance you wish to a location, or use an API (or call to Shortcuts to call an Apple API) to get an address.