From e171d5f30e5dd33f6318cb0cc81c7e6afad0f348 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Fri, 2 Oct 2020 18:47:46 +1000 Subject: [PATCH] Increased map max zoom --- src/helpers/useStageInteraction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/useStageInteraction.js b/src/helpers/useStageInteraction.js index 58533eb..21cf9a0 100644 --- a/src/helpers/useStageInteraction.js +++ b/src/helpers/useStageInteraction.js @@ -5,7 +5,7 @@ import normalizeWheel from "normalize-wheel"; const wheelZoomSpeed = -0.001; const touchZoomSpeed = 0.005; const minZoom = 0.1; -const maxZoom = 5; +const maxZoom = 10; function useStageInteraction( layer,