From 3068c06e030e4b82e0a25961f24472628696512c Mon Sep 17 00:00:00 2001 From: eetnaviation Date: Fri, 10 May 2024 09:11:16 +0300 Subject: [PATCH 1/5] Testing locked scrolling for map --- client/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/index.html b/client/index.html index d765ca5..690ee80 100644 --- a/client/index.html +++ b/client/index.html @@ -59,6 +59,11 @@ map.addLayer(mapnik); map.setCenter(position, zoom); + map.getInteractions().forEach(function(interaction) { + if (interaction instanceof ol.interaction.MouseWheelZoom) { + interaction.setActive(false); + } + }, this); // Function to handle form submission document.getElementById('search-form').addEventListener('submit', function (event) { From 68541a181d2b823f07a9e906e213b2175c2716e9 Mon Sep 17 00:00:00 2001 From: eetnaviation Date: Fri, 10 May 2024 09:14:30 +0300 Subject: [PATCH 2/5] Last commit broke searching. REVERTED! --- client/index.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/client/index.html b/client/index.html index 690ee80..d0ee5b3 100644 --- a/client/index.html +++ b/client/index.html @@ -58,12 +58,6 @@ map.addLayer(mapnik); map.setCenter(position, zoom); - - map.getInteractions().forEach(function(interaction) { - if (interaction instanceof ol.interaction.MouseWheelZoom) { - interaction.setActive(false); - } - }, this); // Function to handle form submission document.getElementById('search-form').addEventListener('submit', function (event) { From 0d92bcda99c44f86d6bd59de59515d79c356d8e5 Mon Sep 17 00:00:00 2001 From: eetnaviation Date: Fri, 10 May 2024 09:18:14 +0300 Subject: [PATCH 3/5] Logo is now aligned to the right! this fixes things on desktop... not so sure about mobile! maybe disable logo on mobile? --- client/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/index.html b/client/index.html index d0ee5b3..2c0ec54 100644 --- a/client/index.html +++ b/client/index.html @@ -16,7 +16,7 @@ - velendeulogojpg + velendeulogojpg

TLT Location Finder

From e8a20099b2ad5b1144426b3a179e40cec658b7de Mon Sep 17 00:00:00 2001 From: eetnaviation Date: Fri, 10 May 2024 09:19:33 +0300 Subject: [PATCH 4/5] Set logo scale to 50% --- client/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/index.html b/client/index.html index 2c0ec54..871c13b 100644 --- a/client/index.html +++ b/client/index.html @@ -16,7 +16,7 @@ - velendeulogojpg + velendeulogojpg

TLT Location Finder

From 48aa5c2de0767edde1a8529d8ef211ad9a5bb4df Mon Sep 17 00:00:00 2001 From: eetnaviation Date: Fri, 10 May 2024 09:20:15 +0300 Subject: [PATCH 5/5] That made it bigger --- client/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/index.html b/client/index.html index 871c13b..451d913 100644 --- a/client/index.html +++ b/client/index.html @@ -16,7 +16,7 @@ - velendeulogojpg + velendeulogojpg

TLT Location Finder