ToastFreeware
/
philipp
/
winterrodeln
/
mediawiki_extensions
/
wrmap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2f1651
)
Prevent map zooming with mouse wheel.
author
Philipp Spitzer
<philipp@spitzer.priv.at>
Sat, 2 Jan 2021 11:04:38 +0000
(12:04 +0100)
committer
Philipp Spitzer
<philipp@spitzer.priv.at>
Sat, 2 Jan 2021 11:04:38 +0000
(12:04 +0100)
wrmap.js
patch
|
blob
|
history
diff --git
a/wrmap.js
b/wrmap.js
index ab45a89f1e3d745f99a2ce9a0232ff872a3c8bb1..de22a914f40af854c7ba39410dcf582fa1056079 100644
(file)
--- a/
wrmap.js
+++ b/
wrmap.js
@@
-351,6
+351,9
@@
function init_wrmap(i, jq_map) {
attributionOptions: {
collapsible: false
}
+ }),
+ interactions: ol.interaction.defaults({
+ mouseWheelZoom: false
})
});