# \[Solved\] Click to add map markers

**URL:** https://community.thunkable.com/t/solved-click-to-add-map-markers/1104201
**Category:** Questions about Thunkable X
**Tags:** googlemaps, solved
**Created:** [December 13, 2019, 5:53pm UTC](https://community.thunkable.com/t/solved-click-to-add-map-markers/1104201 "2019-12-13T17:53:44Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![56cf3eabbe5846](https://avatars.discourse-cdn.com/v4/letter/5/ea666f/32.png) [@56cf3eabbe5846](https://community.thunkable.com/u/56cf3eabbe5846)
#### Post date: [December 13, 2019, 5:53pm UTC](https://community.thunkable.com/t/solved-click-to-add-map-markers/1104201/1 "2019-12-13T17:53:44Z")

</div>

I am creating an app that creates markers in google maps according to the coordinates sent, but when I click the submit button, the app restarts. can you help me?!

 ![2019-12-13 (1)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/3/23dcd744e0d4d08bc89334453b63e9fb5f9cae8d.png) ![2019-12-13](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/6/5622cd3ba0994a2e6b9f48ae8719c775a1937ce6.png)

---

<div class="post-metadata">

### Author: ![CBVG](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cbvg/32/32401_2.png) [@CBVG](https://community.thunkable.com/u/CBVG)
#### Post date: [December 13, 2019, 6:26pm UTC](https://community.thunkable.com/t/solved-click-to-add-map-markers/1104201/2 "2019-12-13T18:26:49Z")

</div>

You asked this in the Classic forum, but your screen capture indicate that you are using X thunkable, which is a completely different environment. I am flagging you post so that it can be filed in the proper forum.

---

<div class="post-metadata">

### Author: ![56cf3eabbe5846](https://avatars.discourse-cdn.com/v4/letter/5/ea666f/32.png) [@56cf3eabbe5846](https://community.thunkable.com/u/56cf3eabbe5846)
#### Post date: [December 13, 2019, 11:43pm UTC](https://community.thunkable.com/t/solved-click-to-add-map-markers/1104201/3 "2019-12-13T23:43:53Z")

</div>

pls someone can help me?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [December 14, 2019, 8:38am UTC](https://community.thunkable.com/t/solved-click-to-add-map-markers/1104201/4 "2019-12-14T08:38:23Z")

</div>

In the Add Marker block, you need to specify numbers in the latitude and longitude parameters, and you have numbers in string format, so crash occurs. Use the block for summing numbers like this:

longitude \<- (from latitude get Text) + (0)  
latitude \<- (from longitude get Text) + (0)

---

<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:46am UTC](https://community.thunkable.com/t/solved-click-to-add-map-markers/1104201/5 "2024-11-08T11:46:25Z")

</div>



---

<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: [December 19, 2024, 5:02pm UTC](https://community.thunkable.com/t/solved-click-to-add-map-markers/1104201/6 "2024-12-19T17:02:29Z")

</div>


