# Auto boundaries/zoom

**URL:** <https://community.thunkable.com/t/auto-boundaries-zoom/1640748>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [November 30, 2021, 3:10pm UTC](https://community.thunkable.com/t/auto-boundaries-zoom/1640748 "2021-11-30T15:10:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![delee\_techdeveloper](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/delee_techdeveloper/32/29616_2.png) [@delee\_techdeveloper](https://community.thunkable.com/u/delee_techdeveloper)\
**Post date:** [November 30, 2021, 3:10pm UTC](https://community.thunkable.com/t/auto-boundaries-zoom/1640748/1 "2021-11-30T15:10:30Z")

</div>

When I open my app my map looks like this

 ![IMG_68A7371E8C6D-1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/e/9e632b2696b7e632f6b276e72b8135158c76d7ff.jpeg)

after I zoom/pinch I get the map like I want it to be which is like this: (I want the map to be extended to the markers and centered around the users location) I am having a hard time trying to get the users current location at the send and the closest markers shown  
(like the this current picture)

 ![IMG_3EB7CCC41942-1 2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/5/95267dc8ae619ae148a15c39a1547b4b0ce8d1ec.jpeg)

Can someone please help me!!!

---

<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:** [November 30, 2021, 3:42pm UTC](https://community.thunkable.com/t/auto-boundaries-zoom/1640748/2 "2021-11-30T15:42:15Z")

</div>

My suggestion is to play with the zoom levels _ **with** _ a set of markers that have set distances from a center point.

Then you can match zoom levels so they encompase the desired markers and use this as a reference.

I found these zoom levels to look just fine for a project I did. Mind you, all distancs are in nautical miles buttt you can use this as a starting point

 ![Screen Shot 2021-11-30 at 10.38.41 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/d/1db3d0de1a2e4bfaaf06ba61a719b3282f1be649.png)

---

<div class="post-metadata">

**Author:** ![delee\_techdeveloper](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/delee_techdeveloper/32/29616_2.png) [@delee\_techdeveloper](https://community.thunkable.com/u/delee_techdeveloper)\
**Post date:** [November 30, 2021, 3:43pm UTC](https://community.thunkable.com/t/auto-boundaries-zoom/1640748/3 "2021-11-30T15:43:28Z")

</div>

thank you so much because I am just at a lost on how to get these maps consistent and to show properly

---

<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:** [November 30, 2021, 3:43pm UTC](https://community.thunkable.com/t/auto-boundaries-zoom/1640748/4 "2021-11-30T15:43:47Z")

</div>

Play with it. Let me know how you get along.

---

<div class="post-metadata">

**Author:** ![delee\_techdeveloper](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/delee_techdeveloper/32/29616_2.png) [@delee\_techdeveloper](https://community.thunkable.com/u/delee_techdeveloper)\
**Post date:** [November 30, 2021, 3:47pm UTC](https://community.thunkable.com/t/auto-boundaries-zoom/1640748/5 "2021-11-30T15:47:58Z")

</div>

what did you set the nms variable at the end “empty list” or did you just leave it open

and the proper placement for the set would be after my “addMarker” blocks or after the “count with I” blocks?

 ![Screen Shot 2021-11-30 at 9.49.34 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/5/e54fb926e632f57a7905578bcd428e7d57198dc3.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [February 28, 2022, 3:48pm UTC](https://community.thunkable.com/t/auto-boundaries-zoom/1640748/6 "2022-02-28T15:48:52Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
