|
|
@@ -344,6 +344,16 @@ export default {
|
|
|
this.map.pm.disableGlobalDragMode()
|
|
|
this.cancel()
|
|
|
})
|
|
|
+ // this.map.on('zoomend', (e) => {
|
|
|
+ // const scale = e.target.getZoom()
|
|
|
+ // const markers = document.querySelectorAll('.leaflet-marker-icon')
|
|
|
+ // for (let i = 0; i < markers.length; i++) {
|
|
|
+ // console.log()
|
|
|
+ // markers[i].style.transform = `${markers[i].style.transform} scale(${scale})`
|
|
|
+ // }
|
|
|
+ // console.log({ markers, scale })
|
|
|
+ // // this.markerGroup.eachLayer(item => { // })
|
|
|
+ // })
|
|
|
}
|
|
|
}
|
|
|
}
|