Use Navigation control for mousewheel zoom on desktop devices
This commit is contained in:
@@ -104,7 +104,7 @@ var map;
|
|||||||
maxResolution: 156543.0339,
|
maxResolution: 156543.0339,
|
||||||
numZoomLevels: 20,
|
numZoomLevels: 20,
|
||||||
controls: [
|
controls: [
|
||||||
new OpenLayers.Control.TouchNavigation({
|
new OpenLayers.Control.Navigation({
|
||||||
mouseWheelOptions: {
|
mouseWheelOptions: {
|
||||||
cumulative: false,
|
cumulative: false,
|
||||||
interval: 20
|
interval: 20
|
||||||
|
|||||||
Reference in New Issue
Block a user