# Disable Manual Zoom

**URL:** <https://community.mappedin.com/t/disable-manual-zoom/57>\
**Category:** Mappedin JS\
**Created:** [June 7, 2024, 3:23pm UTC](https://community.mappedin.com/t/disable-manual-zoom/57 "2024-06-07T15:23:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BerryFun](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/berryfun/32/73_2.png) [@BerryFun](https://community.mappedin.com/u/BerryFun)\
**Post date:** [June 7, 2024, 3:23pm UTC](https://community.mappedin.com/t/disable-manual-zoom/57/1 "2024-06-07T15:23:19Z")

</div>

Is there a way to prevent users from zooming in on the map? I want them to be able to pan the map, but not zoom or tilt. I’m going to build my own zoom controls using Web SDK version 5.

---

<div class="post-metadata">

**Author:** ![KimCodeashian](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/kimcodeashian/32/74_2.png) [@KimCodeashian](https://community.mappedin.com/u/KimCodeashian)\
**Post date:** [June 7, 2024, 5:28pm UTC](https://community.mappedin.com/t/disable-manual-zoom/57/2 "2024-06-07T17:28:13Z")

</div>

Hiya BerryFun!

If I’m understanding correctly - are you looking to disable two finger gestures (so it prevents zoom / rotation / tilt) and just allow the one figure gesture to pan the map?

If yes, then that can be done by setting [TCameraInteractionsSetOptions](https://docs.mappedin.com/web-sdk-api/v5/latest/types/TCameraInteractionsSetOptions.html) so that `rotationAndTilt` and `zoom` are **disabled** , and `pan` is **enabled**.

This will keep the single finger gesture to pan enabled.

Here’s a code sample that does just that:

```auto
mapView.Camera.interactions.set({
  zoom: false,
  rotationAndTilt: false,
  pan: true,
});

```

Hope that helps!

---

<div class="post-metadata">

**Author:** ![BerryFun](https://yyz2.discourse-cdn.com/flex004/user_avatar/community.mappedin.com/berryfun/32/73_2.png) [@BerryFun](https://community.mappedin.com/u/BerryFun)\
**Post date:** [June 11, 2024, 12:17pm UTC](https://community.mappedin.com/t/disable-manual-zoom/57/3 "2024-06-11T12:17:04Z")

</div>

Woo, thanks! I have this working now.
