settings: min/max zoom
This commit is contained in:
parent
08ef016837
commit
1a19e9849f
1 changed files with 2 additions and 2 deletions
|
@ -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: () => {
|
||||
|
|
Loading…
Reference in a new issue