# Google map not zooming initially

**URL:** <https://community.thunkable.com/t/google-map-not-zooming-initially/1532269>\
**Category:** Questions about Thunkable X\
**Tags:** googlemaps, map\
**Created:** [September 28, 2021, 7:26pm UTC](https://community.thunkable.com/t/google-map-not-zooming-initially/1532269 "2021-09-28T19:26:19Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [September 28, 2021, 7:26pm UTC](https://community.thunkable.com/t/google-map-not-zooming-initially/1532269/1 "2021-09-28T19:26:20Z")

</div>

I hope I’m missing something simple here. It’s been a while since I’ve played around with Google Maps.

I have a project where I get the phone’s current location using the location sensor and then feed the lat/lon data to a Google Map. And actually, I’ve even simplified that process by just storing hard-coded lat/lon values in a local database and retrieving them.

The event for this is a Data Viewer List item click. Either way, though, the Google Map appears completely zoomed out. It shows the map marker and my location and I can manually zoom in (pinch) to see them better. But if I click the DVL item a _second_ time, it then zooms in correctly (Map1’s Zoom = 4).

It seems like I have the timing off somehow. Do I need a wait block? Should the Zoom value be set before the onMapReady event? Some other way?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/9/390da8ff60836212e49df9639b93ccf8ec57c9eb.png)

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

---

<div class="post-metadata">

**Author:** ![sirfrancisdrake](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sirfrancisdrake/32/70212_2.png) [@sirfrancisdrake](https://community.thunkable.com/u/sirfrancisdrake)\
**Post date:** [September 30, 2021, 6:57am UTC](https://community.thunkable.com/t/google-map-not-zooming-initially/1532269/2 "2021-09-30T06:57:13Z")

</div>

hi, i am experiencing a similar issue. In my very simple app a track line (polyline) into the map is showing the user path.  
a) Sometimes when i first start the map even if i set a scale of 5 the map is completely zoomed out (looks like it is -15 as zoom value).  
b) Sometimes during runtime as the user moves, the map seems to switch between the zoom selected (5) and something very little value (like -10). it is so weird that sometimes the map switching is completely absorbing resouces and i have to close the app.

the issue seems to become weird if during the runtime i move the map using the fingers.  
hope this will help thunkable support! in thunkX we trust! 🤣

---

<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:15pm UTC](https://community.thunkable.com/t/google-map-not-zooming-initially/1532269/3 "2024-11-08T13:15:04Z")

</div>


