MapControls constructor
MapControls(
- dynamic object,
- dynamic domElement
Implementation
MapControls(object, domElement) : super(object, domElement) {
screenSpacePanning = false; // pan orthogonal to world-space direction camera.up
mouseButtons['LEFT'] = MOUSE.PAN;
mouseButtons['RIGHT'] = MOUSE.ROTATE;
touches['ONE'] = TOUCH.PAN;
touches['TWO'] = TOUCH.DOLLY_ROTATE;
}