diff --git a/website/assets/map_howto.js b/website/assets/map_howto.js index d474fea..b1b6dc4 100644 --- a/website/assets/map_howto.js +++ b/website/assets/map_howto.js @@ -34,13 +34,14 @@ function initMap() { } const mapDiv = document.getElementById('map-container') -// mapDiv.onclick = function () { -// initMap() -// } +mapDiv.onclick = function () { + initMap() +} -initMap() +// initMap() function selectStyle(event, style) { + initMap() toggleButtonSelection(event.target) const styleUrl = 'https://tiles.openfreemap.org/styles/' + style