settings: min/max zoom

version/enerpe
Tomáš Mládek 2022-12-07 23:34:17 +01:00
parent 08ef016837
commit 1a19e9849f
1 changed files with 2 additions and 2 deletions

View File

@ -99,8 +99,8 @@
// PanZoom
const pz = createPanZoom(root, {
smoothScroll: false,
minZoom: 0.05,
maxZoom: 3637937,
minZoom: 0.1,
maxZoom: 2,
zoomSpeed: 0.05,
zoomDoubleClickSpeed: 1,
beforeMouseDown: () => {