Last commit broke searching. REVERTED!

This commit is contained in:
eetnaviation
2024-05-10 09:14:30 +03:00
parent 3068c06e03
commit 68541a181d

View File

@ -59,12 +59,6 @@
map.addLayer(mapnik); map.addLayer(mapnik);
map.setCenter(position, zoom); map.setCenter(position, zoom);
map.getInteractions().forEach(function(interaction) {
if (interaction instanceof ol.interaction.MouseWheelZoom) {
interaction.setActive(false);
}
}, this);
// Function to handle form submission // Function to handle form submission
document.getElementById('search-form').addEventListener('submit', function (event) { document.getElementById('search-form').addEventListener('submit', function (event) {
event.preventDefault(); event.preventDefault();