limit minZoom (???)
This commit is contained in:
parent
24dc9c9f18
commit
b270693868
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ export default defineComponent({
|
||||||
// PanZoom
|
// PanZoom
|
||||||
const pz = createPanZoom(element, {
|
const pz = createPanZoom(element, {
|
||||||
smoothScroll: false,
|
smoothScroll: false,
|
||||||
|
minZoom: 0.02,
|
||||||
maxZoom: 3637937,
|
maxZoom: 3637937,
|
||||||
zoomSpeed: 0.05,
|
zoomSpeed: 0.05,
|
||||||
zoomDoubleClickSpeed: 1,
|
zoomDoubleClickSpeed: 1,
|
||||||
|
|
Loading…
Reference in a new issue