# Error With Google Maps

**URL:** <https://community.thunkable.com/t/error-with-google-maps/2162662>\
**Category:** Issues / Bugs\
**Tags:** beginner\
**Created:** [December 3, 2022, 8:45am UTC](https://community.thunkable.com/t/error-with-google-maps/2162662 "2022-12-03T08:45:46Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![anastasi.fr6w](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@anastasi.fr6w](https://community.thunkable.com/u/anastasi.fr6w)\
**Post date:** [December 3, 2022, 8:45am UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/1 "2022-12-03T08:45:46Z")

</div>

Hi, i need to use a map on my app.

there is a button, when i click on it i need to open maps and localize myself.  
But it doesn’t work and appears this message:  
“Critical error occurred” with a long details.  
I don’t know why.  
Can someone help me?  
Thank you

---

<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:** [December 3, 2022, 8:48am UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/2 "2022-12-03T08:48:42Z")

</div>

Post a link to your project or a screenshot of the blocks you’re using for the map.

---

<div class="post-metadata">

**Author:** ![anastasi.fr6w](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@anastasi.fr6w](https://community.thunkable.com/u/anastasi.fr6w)\
**Post date:** [December 3, 2022, 10:14am UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/3 "2022-12-03T10:14:00Z")

</div>

[https://x.thunkable.com/copy/b6e6c92888eb232bfda2dede1229907a](https://x.thunkable.com/copy/b6e6c92888eb232bfda2dede1229907a)

---

<div class="post-metadata">

**Author:** ![anastasi.fr6w](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@anastasi.fr6w](https://community.thunkable.com/u/anastasi.fr6w)\
**Post date:** [December 3, 2022, 10:22am UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/4 "2022-12-03T10:22:24Z")

</div>

i tried to uninstall and reinstall thunkable but it doesn’t change.

---

<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:** [December 3, 2022, 3:30pm UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/5 "2022-12-03T15:30:28Z")

</div>

It’s helpful when you have multiple screens in a project to tell us which screen the blocks are on but I did find them on _Screen4_.

I believe your project is corrupted somehow. If I Live Test your project, the map does not appear. Even if I add a new Map component, it still appears blank on the screen. If I do the same thing in a different Snap to Place (StP) project, the map appears correctly.

Please try those same blocks in a new blank project and let me know if it works there.

**Edit:** it could just be that screen that is corrupt. When I add a new screen to your project and add a Map to it, it displays correctly.

---

<div class="post-metadata">

**Author:** ![anastasi.fr6w](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@anastasi.fr6w](https://community.thunkable.com/u/anastasi.fr6w)\
**Post date:** [December 3, 2022, 6:00pm UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/6 "2022-12-03T18:00:50Z")

</div>

Sorry for the mistake about the screen.  
I deleted the screen4…now it works fine. There was something strange on screen4.  
Solved.

---

<div class="post-metadata">

**Author:** ![anastasi.fr6w](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@anastasi.fr6w](https://community.thunkable.com/u/anastasi.fr6w)\
**Post date:** [December 3, 2022, 6:01pm UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/7 "2022-12-03T18:01:01Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![anastasi.fr6w](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@anastasi.fr6w](https://community.thunkable.com/u/anastasi.fr6w)\
**Post date:** [December 3, 2022, 7:32pm UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/8 "2022-12-03T19:32:41Z")

</div>

Error appears again on screen4 when i insert a map.  
Now screen4 shows only a list from data\_viewer\_list. I would like to start a navigation using google maps when i click on one item of data\_viewer\_list.

---

<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:** [December 3, 2022, 8:31pm UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/9 "2022-12-03T20:31:37Z")

</div>

I’ll think you’ll need help from @conroy33 or other Thunkable Staff. If you deleted the screen and added a new screen and you’re still getting an error with the map, I’m not sure why that is.

Can you post a new share link to your project?

---

<div class="post-metadata">

**Author:** ![anastasi.fr6w](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@anastasi.fr6w](https://community.thunkable.com/u/anastasi.fr6w)\
**Post date:** [December 3, 2022, 8:52pm UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/10 "2022-12-03T20:52:34Z")

</div>

now it works…but i don’t have changed anything

---

<div class="post-metadata">

**Author:** ![anastasi.fr6w](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@anastasi.fr6w](https://community.thunkable.com/u/anastasi.fr6w)\
**Post date:** [December 3, 2022, 8:55pm UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/11 "2022-12-03T20:55:45Z")

</div>

[https://x.thunkable.com/copy/3b448c0bc1ca05d82a7a7eb5c61695b8](https://x.thunkable.com/copy/3b448c0bc1ca05d82a7a7eb5c61695b8)

now the error is about the precision on the map. It is really not accurate…i am in Italy, i add a mark in italy and call a location in Italy but the map send me in America…

---

<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:** [December 3, 2022, 9:01pm UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/12 "2022-12-03T21:01:28Z")

</div>

You removed the Get Location block so now the lat/long pairs are just from your database. Are you saying that when you provide a lat/long pair in Italy, the marker for it appears in the U.S.?

Can you give an example of a lat/long pair you’re using?

What happens if you type in those same lat/long values as a test to make sure they work for adding a marker without access to your data source?

There is also a bug with the Get Value block so it’s possible you are getting older values that are not current. Try assigning a label’s text to the `get value` blocks so that you can see if that’s happening.

---

<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:12pm UTC](https://community.thunkable.com/t/error-with-google-maps/2162662/13 "2024-11-08T13:12:39Z")

</div>


