<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">See: <a href="https://github.com/openlayers/ol3#questions" class="">https://github.com/openlayers/ol3#questions</a> for instructions on where to ask OpenLayers 3 questions.<br class=""><div apple-content-edited="true" class="">
<div class=""><br class=""></div><div class="">Best regards,</div><div class="">Bart<br clear="all" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""></div><span style="font-family:arial;font-size:small" class="">Bart van den Eijnden</span><br style="font-family:arial;font-size:small" class=""><span style="font-family:arial;font-size:small" class="">Front End Software Engineer | <a href="http://boundlessgeo.com/" class="">Boundless</a></span><br style="font-family:arial;font-size:small" class="">
<a href="mailto:bartvde@boundlessgeo.com" target="_blank" style="color:rgb(17,85,204);font-family:arial;font-size:small" class="">bartvde@boundlessgeo.com</a><br style="font-family:arial;font-size:small" class=""><a href="tel:917-460-7207" value="+19174607207" target="_blank" style="color:rgb(17,85,204);font-family:arial;font-size:small" class="">1-877-673-6436</a><br style="font-family:arial;font-size:small" class="">
<a href="http://twitter.com/boundlessgeo/" style="color:rgb(17,85,204);font-family:arial;font-size:small" class="">@boundlessgeo</a><div class=""><br class=""><div class="gmail_extra" style="font-family:arial;font-size:small"><a href="http://boundlessgeo.com" class=""><img src="http://boundlessgeo.com/wp-content/uploads/files/boundless_sig.png" class=""></a><br class="">
</div></div></div></div>
</div></div>
<br class=""><div style=""><blockquote type="cite" class=""><div class="">On 05 Mar 2015, at 22:36, <a href="mailto:agelos@smartcode.gr" class="">agelos@smartcode.gr</a> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi list,<br class=""><br class="">I know that the OpenLayers 3 ol.interaction.MouseWheelZoom accumulates<br class="">mouse wheel events for an amount of time before it actually fires the<br class="">event, which is a wanted behavior. However it seems that it limits the<br class="">maximum zoom step to a constant range. I came to this conclusion by<br class="">inspecting the function<br class=""><br class="">"ol.interaction.MouseWheelZoom.prototype.doZoom_"<br class=""><br class="">and specifically the lines:<br class="">var maxDelta = ol.MOUSEWHEELZOOM_MAXDELTA;<br class="">var delta = goog.math.clamp(this.delta_, -maxDelta, maxDelta);<br class=""><br class="">of the ol.interaction.MouseWheelZoom source found at:<br class=""><a href="https://github.com/openlayers/ol3/blob/master/src/ol/interaction/mousewheelzoominteraction.js" class="">https://github.com/openlayers/ol3/blob/master/src/ol/interaction/mousewheelzoominteraction.js</a><br class=""><br class="">In my application this is an unwanted feature, as the user needs to be<br class="">able to zoom as much and as quickly as possible. Is there a way to<br class="">overcome this limitation e.g. by building a custom interaction or altering<br class="">my map configuration somehow?<br class=""><br class="">Regards<br class="">Agelos<br class=""><br class=""><br class="">_______________________________________________<br class="">Users mailing list<br class="">Users@lists.osgeo.org<br class="">http://lists.osgeo.org/mailman/listinfo/openlayers-users<br class=""></div></blockquote></div><br class=""></body></html>