openlayers/ol3 — pull request #396 by marcjansen (2013-03-19 12:41:23+00:00)
Title: Add linear/exponential mode to zoomslider

This pull request introduces the config option `mode` for zoomslider controls.

Previously a dragged amount would have been translated to a resultion in a linear way only, so that a simple zoom-in in the map would make the thumb jump a rather big amount. When the control is configured with `{ mode: ol.control.ZoomSliderMode.EXPONENTIAL }`, this will not happen anymore.

The control still defaultas to the linear behaviour, but I think that is debatable.

The (mis-)behaviour has been mentioned in #380.