(factoryOptions)
| 146488 | var _base = require("../base"); |
| 146489 | |
| 146490 | function createOrbitControllerClass(factoryOptions) { |
| 146491 | function wrapper(props) { |
| 146492 | class OrbitControllerInternal extends _base.base.deck._OrbitController { |
| 146493 | constructor(props) { |
| 146494 | super(props); |
| 146495 | this.invertPan = true; |
| 146496 | } |
| 146497 | |
| 146498 | _onDoubleTap(event) { |
| 146499 | if (factoryOptions && factoryOptions.doubleClickHandler) { |
| 146500 | factoryOptions.doubleClickHandler(event, this); |
| 146501 | } else { |
| 146502 | super._onDoubleTap(event); |
| 146503 | } |
| 146504 | } |
| 146505 | |
| 146506 | _onPanRotate(event) { |
| 146507 | if (!this.dragRotate) { |
| 146508 | return false; |
| 146509 | } |
| 146510 | |
| 146511 | return this._onPanRotateStandard(event); |
| 146512 | } |
| 146513 | |
| 146514 | } |
| 146515 | |
| 146516 | const instance = new OrbitControllerInternal(props); |
| 146517 | return instance; |
| 146518 | } |
| 146519 | |
| 146520 | return wrapper; |
| 146521 | } |
| 146522 | },{"../base":"zVYr"}],"FacW":[function(require,module,exports) { |
| 146523 | "use strict"; |
| 146524 |
nothing calls this directly
no outgoing calls
no test coverage detected