use default wheel functions that i created earlier
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1241 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -197,9 +197,9 @@ OpenLayers.Control.MouseDefaults.prototype =
|
|||||||
}
|
}
|
||||||
if (delta) {
|
if (delta) {
|
||||||
if (delta < 0) {
|
if (delta < 0) {
|
||||||
this.map.zoomOut();
|
this.defaultWheelDown();
|
||||||
} else {
|
} else {
|
||||||
this.map.zoomIn();
|
this.defaultWheelUp();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user