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
|
// PanZoom
|
||||||
const pz = createPanZoom(root, {
|
const pz = createPanZoom(root, {
|
||||||
smoothScroll: false,
|
smoothScroll: false,
|
||||||
minZoom: 0.05,
|
minZoom: 0.1,
|
||||||
maxZoom: 3637937,
|
maxZoom: 2,
|
||||||
zoomSpeed: 0.05,
|
zoomSpeed: 0.05,
|
||||||
zoomDoubleClickSpeed: 1,
|
zoomDoubleClickSpeed: 1,
|
||||||
beforeMouseDown: () => {
|
beforeMouseDown: () => {
|
||||||
|
|
Loading…
Reference in a new issue