Testing locked scrolling for map
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user