# Adding map locations and app crashing. Need help fixing

**URL:** <https://community.thunkable.com/t/adding-map-locations-and-app-crashing-need-help-fixing/475160>\
**Category:** Questions about Thunkable X\
**Created:** [February 20, 2020, 1:19pm UTC](https://community.thunkable.com/t/adding-map-locations-and-app-crashing-need-help-fixing/475160 "2020-02-20T13:19:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mspilski07svs5qe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mspilski07svs5qe/32/117367_2.png) [@mspilski07svs5qe](https://community.thunkable.com/u/mspilski07svs5qe)\
**Post date:** [February 20, 2020, 1:19pm UTC](https://community.thunkable.com/t/adding-map-locations-and-app-crashing-need-help-fixing/475160/1 "2020-02-20T13:19:16Z")

</div>

When I add multiple location markers from a airtable list onto a map it crashes my app and sends me back to the main home screen. Could you help? Here is the project link [Thunkable](https://x.thunkable.com/copy/0b80a35fb94af57c9ba4ceeb17b30153)

The function I’m asking about it on the screen titled home and in the locations function it is a for loop that is pulling multiple columns from a row and trying to add map markers.

 ![Screenshot 2020-02-20 at 9.50.58 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/e/7e978e04f03aaed29069268ae15e9087acccd851.png) ![Screenshot 2020-02-20 at 9.50.33 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/4/6435013dc909a33dbd7c499beb9522063e2bd40d.png) ![Screenshot 2020-02-20 at 9.49.20 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/6/36f35bfdd9d04de1c04d3b9f7ceb27d1d098d675.png)

Just need to figure out why my app keeps crashing and how to fix it.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [February 24, 2020, 2:16pm UTC](https://community.thunkable.com/t/adding-map-locations-and-app-crashing-need-help-fixing/475160/2 "2020-02-24T14:16:59Z")

</div>

Hi @mspilski07svs5qe 👋

Take a look at this post as it shows how to add coordinates from Airtable to a map in Thunkable:

> [@Loops and variables and spreadsheet blocks](http://community.thunkable.com/t/loops-and-variables-and-spreadsheet-blocks/186836/15):
>
> So, I think there are a few things going on with the referenced blocks. The first, as @renren66 mentions, is the use of separate variables within the loop rather than the ones that the loop provides by default. The second is the explicit change change blocks to increment the variables. The loop block will do that for you automatically. The last is a bit more complicated. Fortunately I wrote something up on this previously, so please take a look at [Asynchronous Blocks within Loo…](http://community.thunkable.com/t/asynchronous-blocks-within-loops/33524)

Let me know whether or not that helps!

---

<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, 11:40am UTC](https://community.thunkable.com/t/adding-map-locations-and-app-crashing-need-help-fixing/475160/3 "2024-11-08T11:40:50Z")

</div>


