Years ago I made an app that did exactly this as my first attempt at mobile development. It's quite easy to do, as (at least at the time) wikipedia provided a free API and I was able to get another one which got coordinates from an entered address. It's not on the Google play store anymore as I didn't keep it up to date with the development requirements Google has added over the years, but it could easily be recreated by a programmer with interest.
update worked in Firefox on iOS. Safari is not asking permission for location and is just denying it. This happened even when I turned off content blockers and manually gave permission for location.