# MapControls has a demo page but no source

**URL:** <https://discourse.threejs.org/t/mapcontrols-has-a-demo-page-but-no-source/9710>\
**Category:** Questions\
**Tags:** camera-controls, orbit-controls\
**Created:** [September 18, 2019, 6:08pm UTC](https://discourse.threejs.org/t/mapcontrols-has-a-demo-page-but-no-source/9710 "2019-09-18T18:08:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [September 18, 2019, 6:49pm UTC](https://discourse.threejs.org/t/mapcontrols-has-a-demo-page-but-no-source/9710/2 "2019-09-18T18:49:17Z")

</div>

> [@Kayle](#):
>
> If it’s just an orbit control with a minor tweaks, the code would be appreciated too.

That’s correct. `MapControls` is more or less a pre-defined configuration of `OrbitControls`.

> <https://github.com/mrdoob/three.js/blob/65d50c03f6bb0fd8b017ef3f14887e947b2d1c75/examples/js/controls/OrbitControls.js#L1157-L1170>

---

_[View the full topic](https://discourse.threejs.org/t/mapcontrols-has-a-demo-page-but-no-source/9710)._
