# Problems with Creating My New GPS app

**URL:** <https://community.thunkable.com/t/problems-with-creating-my-new-gps-app/2933789>\
**Category:** Questions about Thunkable X\
**Created:** [April 7, 2024, 2:19pm UTC](https://community.thunkable.com/t/problems-with-creating-my-new-gps-app/2933789 "2024-04-07T14:19:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![violapezzonim00es](https://avatars.discourse-cdn.com/v4/letter/v/8e8cbc/32.png) [@violapezzonim00es](https://community.thunkable.com/u/violapezzonim00es)\
**Post date:** [April 7, 2024, 2:19pm UTC](https://community.thunkable.com/t/problems-with-creating-my-new-gps-app/2933789/1 "2024-04-07T14:19:09Z")

</div>

hi everybody, I am kind of new to thinkable and I’m really struggling right now with creating this new App: the purpose is to have a map with current user’s location and all the nearer police stations signed with some markers. I have over 200 dresses so I was wondering to find a way to connect them all at once using an Airtable data source, but it’s not working and I can’t figure out why!  
here’s a copy of my blocks

 ![Schermata 2024-04-07 alle 16.18.19](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/a/baf13e184b4319eb650822e04405ec55928ff123.png)  
 ![Schermata 2024-04-07 alle 16.18.43](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/4/8468f73844bfe43c5265fc983e64b747e02ceaff.png)  
thanks in advance for your help

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 7, 2024, 2:30pm UTC](https://community.thunkable.com/t/problems-with-creating-my-new-gps-app/2933789/2 "2024-04-07T14:30:58Z")

</div>

The row id value is an integer value that represents the row number (1 for the first row, 2 for the second row, etc.).

But you’re using a value from the “provincia” column as the row number because you’re looping through that column’s values and using `j` as the row id. The `j` variable is the value of the cell in a row of your “provincia” column.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/2/926d3023b1fd49cc289c8e840099e7aa78c28d98.png)

I think you are looping through the column values when you should be looping through the rows of the data source instead.

What does your data source look like? Show a screenshot of your spreadsheet.

---

<div class="post-metadata">

**Author:** ![violapezzonim00es](https://avatars.discourse-cdn.com/v4/letter/v/8e8cbc/32.png) [@violapezzonim00es](https://community.thunkable.com/u/violapezzonim00es)\
**Post date:** [April 7, 2024, 2:36pm UTC](https://community.thunkable.com/t/problems-with-creating-my-new-gps-app/2933789/3 "2024-04-07T14:36:37Z")

</div>

here is a copy of the file  
[poi\_csv-2.csv](https://community.thunkable.com/uploads/short-url/qv2mqqOMcMvi3WyaMaSctAJEVFR.csv) (181.6 KB)  
i have uploaded it in Airtable

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 7, 2024, 4:05pm UTC](https://community.thunkable.com/t/problems-with-creating-my-new-gps-app/2933789/4 "2024-04-07T16:05:58Z")

</div>

Alright, so this is what your data looks like:

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

If you want to loop through all of the latitudine and longitudine values, you would do this:

```auto
Count with `i` from 1 to number of rows in Imported table by 1
     call Map1's addMarker
          latitudine = Get Value from Imported Table in poi_csv-2.csv in latitude for row id = `i`
          longitudine = Get Value from Imported Table in poi_csv-2.csv in longitude for row id = `i`
          [etc...]

```

---

<div class="post-metadata">

**Author:** ![violapezzonim00es](https://avatars.discourse-cdn.com/v4/letter/v/8e8cbc/32.png) [@violapezzonim00es](https://community.thunkable.com/u/violapezzonim00es)\
**Post date:** [April 7, 2024, 4:23pm UTC](https://community.thunkable.com/t/problems-with-creating-my-new-gps-app/2933789/5 "2024-04-07T16:23:17Z")

</div>

IT HAS WORKED!!! thank you so much, you’ve saved my day!

---

<div class="post-metadata">

**Author:** ![violapezzonim00es](https://avatars.discourse-cdn.com/v4/letter/v/8e8cbc/32.png) [@violapezzonim00es](https://community.thunkable.com/u/violapezzonim00es)\
**Post date:** [April 8, 2024, 7:23am UTC](https://community.thunkable.com/t/problems-with-creating-my-new-gps-app/2933789/6 "2024-04-08T07:23:45Z")

</div>

I’m so sorry to disturb you again but I was wondering if you could help me withe this other problem: another purpose of the app is to store some emergency contacts, so that as the user clicks a specific button the app itself records a short video of five seconds and sends it to ALL the stored contacts. The app is now able to save new contacts and contact them singularly but it seems impossible to send the same text at once to all of them. Please I really need your help  
here are the photos and the link to my project  
[https://x.thunkable.com/projectPage/65eddcf9c730c78c6730225c](https://x.thunkable.com/projectPage/65eddcf9c730c78c6730225c)  
Uploading: Schermata 2024-04-07 alle 16.18.35.png…  
Uploading: Schermata 2024-04-08 alle 09.20.56.png…  
Uploading: Schermata 2024-04-08 alle 09.21.05.png…  
Uploading: Schermata 2024-04-08 alle 09.21.19.png…  
Uploading: Schermata 2024-04-08 alle 09.21.32.png…

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 8, 2024, 8:25am UTC](https://community.thunkable.com/t/problems-with-creating-my-new-gps-app/2933789/7 "2024-04-08T08:25:53Z")

</div>

This is a separate issue and not one I have a lot of experience with. I believe you’ll need to use a third-party service to do that.

I would recommend starting a new topic (and linking to this one) with the details you provided. Someone may be able to help you out.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [July 7, 2024, 8:25am UTC](https://community.thunkable.com/t/problems-with-creating-my-new-gps-app/2933789/8 "2024-07-07T08:25:58Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
