# Maps in thunkable

**URL:** <https://community.thunkable.com/t/maps-in-thunkable/2885282>\
**Category:** Maps\
**Tags:** beginner\
**Created:** [March 10, 2024, 3:41pm UTC](https://community.thunkable.com/t/maps-in-thunkable/2885282 "2024-03-10T15:41:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamed.zahran.ali4](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mohamed.zahran.ali4](https://community.thunkable.com/u/mohamed.zahran.ali4)\
**Post date:** [March 10, 2024, 3:41pm UTC](https://community.thunkable.com/t/maps-in-thunkable/2885282/1 "2024-03-10T15:41:49Z")

</div>

I need code using the geographical location blocks in Thunkable, the result of which will be as follows:  
If I arrive at my home location, I hear an automatic voice message that “I have arrived home…”  
If I reach a specific market, I hear “another voice message…”  
If I arrive at my university, I hear “another voice message…”  
And so on …  
As in voice messages while tracking Google Maps completely  
Note that I have a local list of those locations

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [March 10, 2024, 4:04pm UTC](https://community.thunkable.com/t/maps-in-thunkable/2885282/2 "2024-03-10T16:04:18Z")

</div>

This can only happen if you have the phone open at all times.

Would require you frequently checking the users location against a list of known locations to check if you are inside a geoboundary you set.

---

<div class="post-metadata">

**Author:** ![mohamed.zahran.ali4](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mohamed.zahran.ali4](https://community.thunkable.com/u/mohamed.zahran.ali4)\
**Post date:** [March 10, 2024, 7:52pm UTC](https://community.thunkable.com/t/maps-in-thunkable/2885282/3 "2024-03-10T19:52:58Z")

</div>

Okay, I understand that, but I want to know what is the appropriate block for this Can you help me with that?

[image]

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [March 11, 2024, 4:20am UTC](https://community.thunkable.com/t/maps-in-thunkable/2885282/4 "2024-03-11T04:20:44Z")

</div>

What have you tried so far?

I’d recommend reading about looping, geofencing, Haversine formula, geoqueries with external dbs

---

<div class="post-metadata">

**Author:** ![mohamed.zahran.ali4](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@mohamed.zahran.ali4](https://community.thunkable.com/u/mohamed.zahran.ali4)\
**Post date:** [March 12, 2024, 7:41pm UTC](https://community.thunkable.com/t/maps-in-thunkable/2885282/5 "2024-03-12T19:41:44Z")

</div>

> [@jared](#):
>
> This can only happen if you have the phone open at all times.
> 
> Would require you frequently checking the users location against a list of known locations to check if you are inside a geoboundary you set.

Yes, that’s clear  
And I actually programmed it  
It only works if the device is open all the time  
And the question  
Is there a way to make the device work when it enters the geographical range?

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [March 12, 2024, 8:12pm UTC](https://community.thunkable.com/t/maps-in-thunkable/2885282/6 "2024-03-12T20:12:14Z")

</div>

> [@mohamed.zahran.ali4](#):
>
> Is there a way to make the device work when it enters the geographical range?

What exactly do you mean by this? Our options for unlocking a device are limited due to security issues with any OS. You could probably trigger a push notification when the user enters the radius. But as Jarden said, you would frequently need to trigger an event to actually check where the user is.
