diff --git a/app/javascript/controllers/mapbox_controller.js b/app/javascript/controllers/mapbox_controller.js index 9f2c7f00..56375337 100644 --- a/app/javascript/controllers/mapbox_controller.js +++ b/app/javascript/controllers/mapbox_controller.js @@ -61,6 +61,10 @@ export default class extends Controller { container: 'map-frame', style: 'mapbox://styles/mapbox/streets-v11', trackResize: true, + pitchWithRotate: false, + dragRotate: false, + touchZoomRotate: false, + keyboardRotate: false, ...options, }); this.setupEventCallbacks();