MapControls has a demo page but no source

Hi there.

I’m really interested in the source of this:
https://threejs.org/examples/misc_controls_map.html

However I don’t see the source of it or any Map Control in the documentation.
If I don’t find any help here I might have to dig around the html and find the relevant parts, but I really think I’m missing something. If it’s just an orbit control with a minor tweaks, the code would be appreciated too.

Thanks,
Kayle

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

1 Like

Huh, I knew it.
Turns out the demo code I was using was with three js r77. It didn’t have MapControls back then.

But now I have some migration errors to fix, ugh.

Thanks a lot!

1 Like