[GIS] OpenLayers zoom using smaller increments

openlayers-2

Currently when the zoom control + and – are pressed, the map zooms a lot for each click. How to make the zoom increments smaller for each click.

Best Answer

Provided that you are not using a third party map with fixed zoom levels (e.g. Google, Bing, OSM etc) you can set the scales or resolutions array of your map to what ever you would like - see the documentation for full details.