07-11-2019 03:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-11-2019 03:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi guys,
Is there a way to return the closest city name using the geolocation function?
Or do I have to send the lat and long to an API to do a lookup?
Thanks
Answered! Go to the Best Answer.

Accepted Solutions
07-11-2019 19:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-11-2019 19:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
There is this wonderful GitHub page collecting many, if not all, public APIs.
I used openweather that can give you also what you need.

07-11-2019 16:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-11-2019 16:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello @harpo666 You need to use an API

07-11-2019 16:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-11-2019 16:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks Giampi71.
Any suggestions of which API I could use to get the closest city names?
Thanks.

07-11-2019 19:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-11-2019 19:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
There is this wonderful GitHub page collecting many, if not all, public APIs.
I used openweather that can give you also what you need.

07-11-2019 19:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-11-2019 19:44
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks Giampi71 !

