Commit 121fcbc4 authored by julien's avatar julien
Browse files

fix map

parent e4d72acf
Pipeline #905 failed with stage
in 1 second
......@@ -81,10 +81,10 @@
L.marker([51.5, -0.09]).addTo(map)
gauge.querySelector('pre').innerHTML = `#${id}{--zoom-level: ${map.getZoom()}; \n --map-center: ${map.getCenter()};}`;
// map.on('zoomstart zoom zoomend dragend', function (ev) {
// gauge.classList.add('show');
// gauge.querySelector('pre').innerHTML = `#${id}{--zoom-level: ${map.getZoom()}; \n --map-center: ${map.getCenter()};}`;
// })
map.on('zoomstart zoom zoomend dragend', function (ev) {
gauge.classList.add('show');
gauge.querySelector('pre').innerHTML = `#${id}{--zoom-level: ${map.getZoom()}; \n --map-center: ${map.getCenter()};}`;
})
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment