Loading src/components/LMap.vue +7 −3 Original line number Diff line number Diff line Loading @@ -275,9 +275,12 @@ export default { }, setZoom(newVal) { const zoom = blueprint.leafletRef.getZoom(); if (newVal !== zoom) { blueprint.leafletRef.setZoom(newVal, { animate: props.noBlockingAnimations ? false : null, }); } }, setPaddingBottomRight(newVal) { Loading Loading @@ -331,6 +334,7 @@ export default { oldCenter.lng !== newCenter.lng ) { blueprint.lastSetCenter = newCenter; console.log("setCenter"); blueprint.leafletRef.panTo(newCenter, { animate: this.noBlockingAnimations ? false : null, }); Loading Loading
src/components/LMap.vue +7 −3 Original line number Diff line number Diff line Loading @@ -275,9 +275,12 @@ export default { }, setZoom(newVal) { const zoom = blueprint.leafletRef.getZoom(); if (newVal !== zoom) { blueprint.leafletRef.setZoom(newVal, { animate: props.noBlockingAnimations ? false : null, }); } }, setPaddingBottomRight(newVal) { Loading Loading @@ -331,6 +334,7 @@ export default { oldCenter.lng !== newCenter.lng ) { blueprint.lastSetCenter = newCenter; console.log("setCenter"); blueprint.leafletRef.panTo(newCenter, { animate: this.noBlockingAnimations ? false : null, }); Loading