Last commit broke searching. REVERTED!
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user