# Why am I not able to set the lat and long of a map in DVL?

**URL:** <https://community.thunkable.com/t/why-am-i-not-able-to-set-the-lat-and-long-of-a-map-in-dvl/1117623>\
**Category:** Questions about Thunkable X\
**Created:** [February 23, 2021, 4:36am UTC](https://community.thunkable.com/t/why-am-i-not-able-to-set-the-lat-and-long-of-a-map-in-dvl/1117623 "2021-02-23T04:36:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [February 23, 2021, 4:36am UTC](https://community.thunkable.com/t/why-am-i-not-able-to-set-the-lat-and-long-of-a-map-in-dvl/1117623/1 "2021-02-23T04:36:18Z")

</div>

I’m making a food blogging app, and displaying all the posts in a Data Viewer List connected to Airtable. When somebody writes a blog post, the location sensor saves their coordinates in 2 different columns, as well as the data they have inputted. When I link the map’s latitude and longitude to those columns, the app crashes, with the Critical Error Occurred message.  
The way I’m linking it:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/3/e3fd33a17c93fcc0f8167c7db929ff9bdfc79103.png)

Sample of my Airtable Data:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/3/2316ef9b16bca30833a5cf0cfede70293dc264bc.png)  
This was originally inn SIGNLE LINE TEXT format, but that crashed, so I changed it to NUMBER format, and it’s still crashing.  
How can I link my DVL maps to these columns?  
Thanks.

---

<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:** [February 23, 2021, 6:39am UTC](https://community.thunkable.com/t/why-am-i-not-able-to-set-the-lat-and-long-of-a-map-in-dvl/1117623/2 "2021-02-23T06:39:57Z")

</div>

You’re probably storing the numbers as text in Airtable (just a guess) and the map component needs numeric values.

When you say you changed it to NUMBER format, how did you go about that?

If you can post a screenshot of the blocks for your map component and numeric conversion, that would be helpful.

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [February 23, 2021, 9:40am UTC](https://community.thunkable.com/t/why-am-i-not-able-to-set-the-lat-and-long-of-a-map-in-dvl/1117623/3 "2021-02-23T09:40:27Z")

</div>

@tatiang, there’s a specific format you have to choose for your columns in Airtable, like SINGLE LINE TEXT, or URL. Right here:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/0/703d682304526af849575ac8848d0d1ed9b609e8.png)  
My map is coded like this:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/f/ff187ab05f2cd61888a05252868e67759f9b1b4f.png)  
This allows the user to add a marker and sets the map’s coordinates.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/b/8bb65caa7e0f124f58c3a30075e0b8d369986042.png)  
This is part of the create object code to add a row in Airtable.

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [February 28, 2021, 6:22am UTC](https://community.thunkable.com/t/why-am-i-not-able-to-set-the-lat-and-long-of-a-map-in-dvl/1117623/4 "2021-02-28T06:22:52Z")

</div>

What can I do about this?  
Thanks.

---

<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:** [February 28, 2021, 7:35am UTC](https://community.thunkable.com/t/why-am-i-not-able-to-set-the-lat-and-long-of-a-map-in-dvl/1117623/5 "2021-02-28T07:35:29Z")

</div>

It’s hard to know because you described a problem with AirTable but then didn’t show those blocks. Have you tried replacing the green latitude and longitude blocks with strings that contain sample lat/lon values? Just to see if it works?

---

<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, 1:29pm UTC](https://community.thunkable.com/t/why-am-i-not-able-to-set-the-lat-and-long-of-a-map-in-dvl/1117623/6 "2024-11-08T13:29:12Z")

</div>


