# \[Resolved\] Issues while using addIconMarker and addPolyline Map Blocks - April 2022

**URL:** <https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222>\
**Category:** Issues / Bugs\
**Tags:** bug\
**Created:** [April 27, 2022, 12:16pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222 "2022-04-27T12:16:00Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![paulovaz72](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/paulovaz72/32/119071_2.png) [@paulovaz72](https://community.thunkable.com/u/paulovaz72)\
**Post date:** [April 27, 2022, 9:09pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/21 "2022-04-27T21:09:27Z")

</div>

I faced similar problem in my project, I think is related to “On Map ready” advent…

What I did:

1. Create a “On Map Ready” block, and put this Add Marker block inside.

2. Initialize app variables and set the cloud variables to them before the Add Marker block.

3. Make the map VISIBLE True only after the On Map Ready happens.

4. Any time I need to change the Markers, I created a Realtime DB Listener block so, I delete and ADD the Markers according the changes.

Try it and please give us a feedback.

Regards!

Paulo Vaz.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 27, 2022, 9:14pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/22 "2022-04-27T21:14:26Z")

</div>

> [@paulovaz72](#):
>
> Try it and please give us a feedback.

No, this did not fix the issue. It still crashes.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 27, 2022, 9:16pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/23 "2022-04-27T21:16:49Z")

</div>

> [@jared](#):
>
> Super strange.

Are you using an API key for the map?  
I’m using the map without API key.

---

<div class="post-metadata">

**Author:** ![aidkittens](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/aidkittens/32/131395_2.png) [@aidkittens](https://community.thunkable.com/u/aidkittens)\
**Post date:** [April 29, 2022, 2:25pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/24 "2022-04-29T14:25:43Z")

</div>

Any other ideas on what’s wrong?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 29, 2022, 4:33pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/25 "2022-04-29T16:33:17Z")

</div>

It is very possible that this error is connected with the recent update. Others are facing the same bug.

We need to wait for @jared @jared to confirm and fix it.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [April 29, 2022, 5:55pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/26 "2022-04-29T17:55:23Z")

</div>

I’ve escalated this as a bug. i’ll let you all know when I have more details!

we should begin working on this next week monday/tuesday. I can’t give a timeline to final fix until we know more details.

---

<div class="post-metadata">

**Author:** ![aidkittens](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/aidkittens/32/131395_2.png) [@aidkittens](https://community.thunkable.com/u/aidkittens)\
**Post date:** [April 29, 2022, 10:47pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/27 "2022-04-29T22:47:20Z")

</div>

Thank you so much!

---

<div class="post-metadata">

**Author:** ![martin.carl.zimmerl8](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@martin.carl.zimmerl8](https://community.thunkable.com/u/martin.carl.zimmerl8)\
**Post date:** [April 30, 2022, 1:59pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/28 "2022-04-30T13:59:30Z")

</div>

Since yesterday, the addMarker Operation causes a app crash (live testing). All my apps using the addMarker operation do not work any more. I am totally confused. Even a micky mouse app does not work any more.  
 ![crash](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/1/d1c1ad09c3648750b55a9d8b02e521b9fb7e9c94.png)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 30, 2022, 2:03pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/29 "2022-04-30T14:03:45Z")

</div>

Welcome to Thunkable.

Please see this

> [@\[Resolved\] Issues while using addIconMarker and addPolyline Map Blocks - April 2022](https://community.thunkable.com/t/issues-while-using-addiconmarker-block/1851222/26):
>
> I’ve escalated this as a bug. i’ll let you all know when I have more details! we should begin working on this next week monday/tuesday. I can’t give a timeline to final fix until we know more details.

---

<div class="post-metadata">

**Author:** ![martin.carl.zimmerl8](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@martin.carl.zimmerl8](https://community.thunkable.com/u/martin.carl.zimmerl8)\
**Post date:** [April 30, 2022, 2:17pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/30 "2022-04-30T14:17:24Z")

</div>

Thank you very much. However, I do not use the operation “addIconMarker”, I use “addMarker”. In another micky mouse application addIconMarker is also causing a crash…

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 30, 2022, 2:28pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/31 "2022-04-30T14:28:40Z")

</div>

At the moment, all Map functions cause crash so the two issues are technically the same.

---

<div class="post-metadata">

**Author:** ![nbapp](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@nbapp](https://community.thunkable.com/u/nbapp)\
**Post date:** [April 29, 2022, 9:22am UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/32 "2022-04-29T09:22:23Z")

</div>

Hello,  
me too I found the same problem on my App.  
Until same days ago it working normally and now every time I click on the map appear the error message "something has gone wrong, but I nothing changed on the APP.  
Here my blocks…

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/7/b775d0880645c0cdc0074614d4460dbd50c0a3bc.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 29, 2022, 3:29pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/33 "2022-04-29T15:29:43Z")

</div>

@owenlmckl9  
@nbapp

Can either of you share your project link? It’s easiest to troubleshoot location apps by testing them on a mobile device but to do that, I’d have to rebuild all of those blocks.

Have you tried removing blocks to see when the error message goes away? That’s always a debugging strategy I use to narrow down where the problem is occurring.

@owenlmckl9 If that’s your actual location, it might be best to hide the lat/long values in your screenshot.

---

<div class="post-metadata">

**Author:** ![owenlmckl9](https://avatars.discourse-cdn.com/v4/letter/o/2bfe46/32.png) [@owenlmckl9](https://community.thunkable.com/u/owenlmckl9)\
**Post date:** [May 1, 2022, 1:41am UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/34 "2022-05-01T01:41:33Z")

</div>

@tatiang  
I have been removing and replacing blocks and I’ve narrowed it down to the add marker and polyline block creating the error message.  
And don’t worry that location is just a MacDonald’s.  
Is there a way of sending you the project link privately not to comfortable sharing on a forum.

---

<div class="post-metadata">

**Author:** ![owenlmckl9](https://avatars.discourse-cdn.com/v4/letter/o/2bfe46/32.png) [@owenlmckl9](https://community.thunkable.com/u/owenlmckl9)\
**Post date:** [April 29, 2022, 1:11am UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/35 "2022-04-29T01:11:07Z")

</div>

I know this is an old post but I have ran into the same issue, im not sure if its because of me or not but I had the map working in an old build that I have not change, I tried to rebuild it a few days ago and got the “Something has gone wrong. Check your blocks and reset this page.” Dialog.  
Here are my blocks:

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

It is meant to draw a line from the users location to the marker.

I am using an Samsung Galaxy S10e to test that is up to date with its software

---

<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:** [May 1, 2022, 3:29am UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/36 "2022-05-01T03:29:04Z")

</div>

Yes, you can send me the project link in a private message. Just click my username above the post and click Message.

---

<div class="post-metadata">

**Author:** ![owenlmckl9](https://avatars.discourse-cdn.com/v4/letter/o/2bfe46/32.png) [@owenlmckl9](https://community.thunkable.com/u/owenlmckl9)\
**Post date:** [May 1, 2022, 5:15am UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/37 "2022-05-01T05:15:10Z")

</div>

here is the link to the project, [Thunkable](https://x.thunkable.com/copy/75d1e8c44e74ccc43b1200abcc5d6af9). It wouldnt let me send it to you in a message

---

<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:** [May 1, 2022, 7:39am UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/38 "2022-05-01T07:39:17Z")

</div>

The weird thing is that if I run the call Location\_Sensor1’s GetCurrentLocation in the onMapReady block, it works fine. But if the exact same set of blocks are in the Create poly function it crashes at the end of running the function contents.

These blocks produce “A”… “B”… “C”… [crash]. It never gets to “D”:

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

---

<div class="post-metadata">

**Author:** ![paulovaz72](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/paulovaz72/32/119071_2.png) [@paulovaz72](https://community.thunkable.com/u/paulovaz72)\
**Post date:** [May 1, 2022, 3:46pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/39 "2022-05-01T15:46:28Z")

</div>

My app uses a map wit polylines, markers and on user change location components/events.

I see yesterday that the drawing of the polylines stops to work. No crashes, but not working anymore.

☹

The changes done in Thunkable last week made catastrofic effects in my apps.

Hope the staff fixes this soon!

---

<div class="post-metadata">

**Author:** ![nbapp](https://avatars.discourse-cdn.com/v4/letter/n/a4c791/32.png) [@nbapp](https://community.thunkable.com/u/nbapp)\
**Post date:** [May 1, 2022, 7:30pm UTC](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222/40 "2022-05-01T19:30:19Z")

</div>

the crash happen with the block “add marker”. If I remove this block, no one crash. But I need it for my App.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/d/ad8bf8724f05245414b96c00e88451ff35919484.png)

Please, help us. Thank you!

[Previous page](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222.md?page=1)

[Next page](https://community.thunkable.com/t/resolved-issues-while-using-addiconmarker-and-addpolyline-map-blocks-april-2022/1851222.md?page=3)
