# Map crashes when adding markers from data source

**URL:** <https://community.thunkable.com/t/map-crashes-when-adding-markers-from-data-source/884171>\
**Category:** Questions about Thunkable X\
**Created:** [October 8, 2020, 11:41am UTC](https://community.thunkable.com/t/map-crashes-when-adding-markers-from-data-source/884171 "2020-10-08T11:41:19Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [October 8, 2020, 12:26pm UTC](https://community.thunkable.com/t/map-crashes-when-adding-markers-from-data-source/884171/6 "2020-10-08T12:26:37Z")

</div>

I just discovered about an hour ago that the block “…with…decimal places” also converts number to strings. ARGH!!!

Another technique I have used to get around problematic Thunkable data typing is to store the value in a variable So the process becomes:

1. Set local variable = data source values
2. set local variable = local variable + 0
3. Pass local variable into block

Since this is a data type issue, I would recommend that, for debugging, set the text property of a label to the variable and see if the quotation marks are present (or if the data source actually returned the value you were expecting). This can save a lot of time (and crashes).

Here is an example of a block I use for debugging

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

Good luck!

---

_[View the full topic](https://community.thunkable.com/t/map-crashes-when-adding-markers-from-data-source/884171)._
