From 21503e6100d4bb1eab56e22d33865229b909e086 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 1 Feb 2024 21:15:49 +0100 Subject: CSS: Improve rules for mobile devices. Place control icons in a row near the top. --- main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'main.js') diff --git a/main.js b/main.js index 15c82ed..f09ce31 100644 --- a/main.js +++ b/main.js @@ -157,6 +157,7 @@ const featureOverlaySource = new VectorSource(); const container = document.getElementById('map-control-container'); (function() { const container0 = map.getViewport().getElementsByClassName('ol-overlaycontainer-stopevent')[0]; + container0.appendChild(document.getElementById('zoom-control')); container0.appendChild(container); container0.appendChild(document.getElementById('modal-info')); -- cgit v1.2.3