# Get latitude and longitude from adress, geocoding

**URL:** https://community.thunkable.com/t/get-latitude-and-longitude-from-adress-geocoding/21678
**Category:** Questions about Thunkable X
**Tags:** googlemaps, webapi
**Created:** [April 9, 2018, 12:15pm UTC](https://community.thunkable.com/t/get-latitude-and-longitude-from-adress-geocoding/21678 "2018-04-09T12:15:20Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)
#### Post date: [April 9, 2018, 12:15pm UTC](https://community.thunkable.com/t/get-latitude-and-longitude-from-adress-geocoding/21678/1 "2018-04-09T12:15:20Z")

</div>

Hello there,

it took about half a day trying, but now I want to share a option to get the coordinates of a adress in thunkable iOS via webAPI which contacts the google maps API (for extended use you should get an official API key)

 ![Screenshot from 2018-04-09 14-59-01](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/8/68217ce0220ede28d1dad10d7c1401aa33c85e74.png)

in the Screenshot I selected the formatted\_adress. change this to other properties from the received JSON object

> **[Get Started  |  Geocoding API  |  Google Developers](https://developers.google.com/maps/documentation/geocoding/start?hl=de)**
>
> Geocoding converts addresses into geographic coordinates to be placed on a map. Reverse Geocoding finds an address based on geographic coordinates or place IDs.

cheers,  
User81

---

<div class="post-metadata">

### Author: ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)
#### Post date: [April 9, 2018, 12:26pm UTC](https://community.thunkable.com/t/get-latitude-and-longitude-from-adress-geocoding/21678/2 "2018-04-09T12:26:15Z")

</div>

et voilà … for latitude:

 ![Screenshot from 2018-04-09 15-17-40](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/2/4253bc938517e3cef0b3d753a09000c0528d4f31.png)

---

<div class="post-metadata">

### Author: ![User81](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@User81](https://community.thunkable.com/u/User81)
#### Post date: [April 9, 2018, 2:57pm UTC](https://community.thunkable.com/t/get-latitude-and-longitude-from-adress-geocoding/21678/3 "2018-04-09T14:57:20Z")

</div>

and even nicer it gets, when you use the place\_id from this object to make a second request with web API to get the places information (shop name, tel number, opening times, etc.) =\> here PlacesAPI key is required! 🤗🤗

 ![Screenshot from 2018-04-09 17-52-28](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/f/7feea06cf91645e6da801ae74321a94011b9b44c.png)

---

<div class="post-metadata">

### Author: ![albert](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/albert/32/4077_2.png) [@albert](https://community.thunkable.com/u/albert)
#### Post date: [April 9, 2018, 3:53pm UTC](https://community.thunkable.com/t/get-latitude-and-longitude-from-adress-geocoding/21678/4 "2018-04-09T15:53:41Z")

</div>

This is pretty awesome! Great work.

---

<div class="post-metadata">

### Author: ![simmos\_82](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@simmos\_82](https://community.thunkable.com/u/simmos_82)
#### Post date: [April 18, 2018, 6:34pm UTC](https://community.thunkable.com/t/get-latitude-and-longitude-from-adress-geocoding/21678/5 "2018-04-18T18:34:17Z")

</div>

Помогите с маркерами. Я хочу, чтобы на одном экране любой пользователь мог добавить маркер с описанием (например, хорошим хранилищем), маркер был сохранен в базе данных Firebase по координатам маркера ( широте и долготе), а на другом экране любой пользователь увидел все маркеры из базы данных ? нужен блок …

---

<div class="post-metadata">

### Author: ![jml137](https://avatars.discourse-cdn.com/v4/letter/j/c68b51/32.png) [@jml137](https://community.thunkable.com/u/jml137)
#### Post date: [July 16, 2020, 8:39am UTC](https://community.thunkable.com/t/get-latitude-and-longitude-from-adress-geocoding/21678/6 "2020-07-16T08:39:10Z")

</div>

thank you @User81 !

Is there a way to use geocode without an API key ?

I use thunkable as an education ressource, and it would be a bit complex for kids to create an google dev account and retrieve API keys

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:03pm UTC](https://community.thunkable.com/t/get-latitude-and-longitude-from-adress-geocoding/21678/7 "2024-11-08T12:03:59Z")

</div>


