From 46140bd055ca02acd1a55cb5325f23b2e7a400d2 Mon Sep 17 00:00:00 2001 From: David Manthey Date: Thu, 20 Apr 2023 08:43:26 -0400 Subject: [PATCH] perf: Add an action where the middle mouse button pans --- src/mapInteractor.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mapInteractor.js b/src/mapInteractor.js index 97ae5ce5d2..e20c6a5179 100644 --- a/src/mapInteractor.js +++ b/src/mapInteractor.js @@ -276,6 +276,12 @@ var mapInteractor = function (args) { input: 'rotate', owner: 'geo.mapInteractor', name: 'touch zoom and rotate' + }, { + action: geo_action.pan, + input: 'middle', + modifiers: {shift: false, ctrl: false}, + owner: 'geo.mapInteractor', + name: 'button pan' }], click: {