diff --git a/src/js/leaflet-gesture-handling.js b/src/js/leaflet-gesture-handling.js index 9b18a4f..ab886a5 100644 --- a/src/js/leaflet-gesture-handling.js +++ b/src/js/leaflet-gesture-handling.js @@ -279,6 +279,6 @@ export var GestureHandling = L.Handler.extend({ }); -L.Map.addInitHook("addHandler", "gestureHandling", GestureHandling); +L.Map.addInitHook("addHandler", "gestureHandling", GestureHandling, 0); export default GestureHandling;