From 5fbcaf1b14987d2ae83ebc5f7cb6cbfed5edcaf6 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 20 Nov 2017 12:54:25 -0800 Subject: [PATCH] Restore pitch-with-rotate to nav control --- src/ui/control/navigation_control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/control/navigation_control.js b/src/ui/control/navigation_control.js index 58634a9bbfe..35d2ed7dc5e 100644 --- a/src/ui/control/navigation_control.js +++ b/src/ui/control/navigation_control.js @@ -48,7 +48,7 @@ class NavigationControl { this._map = map; this._map.on('rotate', this._rotateCompassArrow); this._rotateCompassArrow(); - this._handler = new DragRotateHandler(map, {button: 'left', element: this._compass, pitchWithRotate: false}); + this._handler = new DragRotateHandler(map, {button: 'left', element: this._compass}); this._handler.enable(); return this._container; }