# \#map-controls

**URL:** https://discourse.threejs.org/tag/map-controls/786.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [How to enable scroll on mobile while using Map Controls](https://discourse.threejs.org/t/how-to-enable-scroll-on-mobile-while-using-map-controls/68737)

<div class="topic-metadata">

**Author:** [@nutjin](https://discourse.threejs.org/u/nutjin)\
**Replies:** 1\
**Last updated:** [July 30, 2024, 2:01pm UTC](https://discourse.threejs.org/t/how-to-enable-scroll-on-mobile-while-using-map-controls/68737 "2024-07-30T14:01:28Z")

</div>

I have a scene that has one giant plane with a texture on it, I’ve restricted the control’s movement so that I can only pan left or right. So now I can only pan left or right but since the canvas captures all events I c…

---

## [Map Controls and center scene](https://discourse.threejs.org/t/map-controls-and-center-scene/57919)

<div class="topic-metadata">

**Author:** [@anibalsa](https://discourse.threejs.org/u/anibalsa)\
**Replies:** 1\
**Last updated:** [November 11, 2023, 10:54am UTC](https://discourse.threejs.org/t/map-controls-and-center-scene/57919 "2023-11-11T10:54:41Z")

</div>

Hey guys. When I use Orbit Controls, I can animate the camera’s position to the center of my scene. But when I use Map Controls, the camera never returns to the center. Is there any solution for this? Thanks

---

## [How to prevent click when 'dragging' the camera with the left mouse button](https://discourse.threejs.org/t/how-to-prevent-click-when-dragging-the-camera-with-the-left-mouse-button/40377)

<div class="topic-metadata">

**Author:** [@cereal\_beast](https://discourse.threejs.org/u/cereal_beast)\
**Replies:** 3\
**Last updated:** [July 18, 2022, 1:21pm UTC](https://discourse.threejs.org/t/how-to-prevent-click-when-dragging-the-camera-with-the-left-mouse-button/40377 "2022-07-18T13:21:59Z")

</div>

How can I prevent click after ‘dragging’ the camera using the left mouse button? I am using map controls and I have some camera animations that are triggered when the user clicks an object, currently when you click and d…

---

## [How do I custom mouse action in orbit controls or use another to do something like this example](https://discourse.threejs.org/t/how-do-i-custom-mouse-action-in-orbit-controls-or-use-another-to-do-something-like-this-example/24214)

<div class="topic-metadata">

**Author:** [@giap\_nguyen](https://discourse.threejs.org/u/giap_nguyen)\
**Replies:** 0\
**Last updated:** [March 10, 2021, 2:04am UTC](https://discourse.threejs.org/t/how-do-i-custom-mouse-action-in-orbit-controls-or-use-another-to-do-something-like-this-example/24214 "2021-03-10T02:04:12Z")

</div>

I want to do something like this example. I need to custom mouse action like the above example: drag up or drag down to pan(zoom in/out) the map drag left or drag right to left to rotate the map I used Orbit contro…

---

## [Orbit Controls - Dynamic Horizon Zoom](https://discourse.threejs.org/t/orbit-controls-dynamic-horizon-zoom/15622)

<div class="topic-metadata">

**Author:** [@dsgnrm](https://discourse.threejs.org/u/dsgnrm)\
**Replies:** 1\
**Last updated:** [May 27, 2020, 2:47pm UTC](https://discourse.threejs.org/t/orbit-controls-dynamic-horizon-zoom/15622 "2020-05-27T14:47:29Z")

</div>

I’m trying to recreate the camera movement exemplified in this project; https://www.greenwichpeninsula.co.uk/paperpeninsula/ Specifically the motion of tilting the camera towards the horizon symustainiously as zooming. …
