# Thunkable cross platform iOS how to use Google Maps

**URL:** <https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [June 25, 2018, 11:14pm UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151 "2018-06-25T23:14:33Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddcld](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@ddcld](https://community.thunkable.com/u/ddcld)\
**Post date:** [June 25, 2018, 11:14pm UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/1 "2018-06-25T23:14:33Z")

</div>

Greetings to the whole community  
how do I display the google map with the coordinates of the cell phone position ???  
Thanks in advance for any help

---

<div class="post-metadata">

**Author:** ![jacob1](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@jacob1](https://community.thunkable.com/u/jacob1)\
**Post date:** [June 26, 2018, 3:42am UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/2 "2018-06-26T03:42:39Z")

</div>

Hi ddcld,

You can get the coordinates of the cell phone position by using Map and Location Sensor, just use the following blocks:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/7/a72437721b63080690abdb4bdc69f9a1b7b4d447.png)

and then you can also add a location marker my selecting “show user location” in the Maps advanced options

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/7/47c5ded8bda7aa41f090848a6f848a8bdbe9efed.png)

Thanks  
Jacob

---

<div class="post-metadata">

**Author:** ![ddcld](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@ddcld](https://community.thunkable.com/u/ddcld)\
**Post date:** [June 26, 2018, 6:49am UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/3 "2018-06-26T06:49:21Z")

</div>

Thank you so much for the answer  
Unfortunately it does not work.  
My cell phone is a Honor 8 with Android 7.0  
when running the code on the screen2 it exits the app.

thanks for all the advice I can have from you.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [June 26, 2018, 6:51am UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/4 "2018-06-26T06:51:42Z")

</div>

Hi,

If you give me a link to your project, then I’ll look at the reason for the crash app on Android.

---

<div class="post-metadata">

**Author:** ![ddcld](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@ddcld](https://community.thunkable.com/u/ddcld)\
**Post date:** [June 26, 2018, 8:34am UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/5 "2018-06-26T08:34:34Z")

</div>

the link is this  
[https://x.thunkable.com/projects/5b30ef487a2e158c8e9b08d2/Screen1/designer](https://x.thunkable.com/projects/5b30ef487a2e158c8e9b08d2/Screen1/designer)  
but I believe it is not public.  
How can I make the link available ???  
thanks for everything

-------------------------------------------------//  
sorry I think the link is this:  
[https://x.thunkable.com/copy/b56a661c5d13d6305924026ac81d8c6e](https://x.thunkable.com/copy/b56a661c5d13d6305924026ac81d8c6e)  
otherwise let me know

thank you

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [June 26, 2018, 9:38am UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/6 "2018-06-26T09:38:52Z")

</div>

Crash occurs when the latitude or longitude setting blocks are being executed:

Error while updating property ‘region’ of a view managed by: AIRMap

---

<div class="post-metadata">

**Author:** ![ddcld](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@ddcld](https://community.thunkable.com/u/ddcld)\
**Post date:** [June 26, 2018, 11:00am UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/7 "2018-06-26T11:00:05Z")

</div>

Also in screen1 with only map1 and location\_sensor1create error and exit the application.  
In the classic version everything works wonderfully, BUT, I have  
the need to create an app for iOS.

No one has had and solved this problem with Thunkable X ???

(sorry but my english is google translator)

thank you all

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [June 26, 2018, 11:59am UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/8 "2018-06-26T11:59:05Z")

</div>

I have not seen such errors on iOS devices.

---

<div class="post-metadata">

**Author:** ![ddcld](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@ddcld](https://community.thunkable.com/u/ddcld)\
**Post date:** [June 26, 2018, 12:49pm UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/9 "2018-06-26T12:49:22Z")

</div>

true, but if I run on android I get the app exit.

enzo.

---

<div class="post-metadata">

**Author:** ![ddcld](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@ddcld](https://community.thunkable.com/u/ddcld)\
**Post date:** [June 26, 2018, 1:01pm UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/10 "2018-06-26T13:01:13Z")

</div>

I apologize to everyone.  
here is the story.

January 2018 I created an app with Thunkable classic. for android.  
OK everything works great.  
the customer asks me to create the app for iOS too.  
Here is no longer Thunkable for iOS but Thunkable X.  
I start writing ONE APP for iOS and Android but some things  
they only work with other iOS only with Android …

I think THUNKABLE is the best way to create apps quickly.  
Thanks for the advice you gave me, now on iOS works the part of  
recognition of the position PURTROPPO does not work on ANDROID.

You are a fantastic community and I hope that I can contribute to it too  
solve some problems.

Enzo

---

<div class="post-metadata">

**Author:** ![ddcld](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@ddcld](https://community.thunkable.com/u/ddcld)\
**Post date:** [June 26, 2018, 1:22pm UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/11 "2018-06-26T13:22:01Z")

</div>

always in relation to gmap and the position sensor,  
how can I get the address from the coordinates,  
how can I get the coordinates from an address ??

I rejoice very much.

enzo

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [June 26, 2018, 2:13pm UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/12 "2018-06-26T14:13:36Z")

</div>

This information can be obtained using the Google Geocoding API.

It looks something like this (use Web API component and parse JSON-response):

 ![getLocation](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/e/7ebdfcd1f0c2f9ffa5dc18f772f9da6e7589f2d6.png)

Geocoding and reverse geocoding documentation.

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

---

<div class="post-metadata">

**Author:** ![Tore78](https://avatars.discourse-cdn.com/v4/letter/t/e47c2d/32.png) [@Tore78](https://community.thunkable.com/u/Tore78)\
**Post date:** [January 5, 2019, 7:08pm UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/13 "2019-01-05T19:08:47Z")

</div>

Hi there, I have the same problem. When I use Google Maps and add a marker, on android device, app crashes immediatly. If I test app on Ios there is no crash.

Could you help me to run Google Maps on an android device?

Thank you

---

<div class="post-metadata">

**Author:** ![EdenRossa](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@EdenRossa](https://community.thunkable.com/u/EdenRossa)\
**Post date:** [April 21, 2019, 3:51pm UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/14 "2019-04-21T15:51:42Z")

</div>

What is the link scripted in URL ? I cannot see the full link

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [April 22, 2019, 7:43am UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/15 "2019-04-22T07:43:38Z")

</div>

`https://maps.googleapis.com/maps/api/geocode/json?latlng=`

---

<div class="post-metadata">

**Author:** ![EdenRossa](https://avatars.discourse-cdn.com/v4/letter/e/f14d63/32.png) [@EdenRossa](https://community.thunkable.com/u/EdenRossa)\
**Post date:** [April 23, 2019, 4:37pm UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/16 "2019-04-23T16:37:11Z")

</div>

Hai actech, the real link [https://maps.googleapis.com/maps/api/geocode/json?address=](https://maps.googleapis.com/maps/api/geocode/json?address=)

btw thank you for your help 🙂

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [April 23, 2019, 6:49pm UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/17 "2019-04-23T18:49:53Z")

</div>

Hi,

Forced to disagree with you )). “address” is one of the possible parameters, and my code uses a link like:

`https://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&key=YOUR_API_KEY`

---

<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:02pm UTC](https://community.thunkable.com/t/thunkable-cross-platform-ios-how-to-use-google-maps/33151/18 "2024-11-08T12:02:22Z")

</div>


