[OpenLayers-Users] OL 2.12: Live zoom with PanZoomBar

Andreas Neumann a.neumann at carto.net
Thu Apr 25 01:52:05 PDT 2013


Hi,

I am using OL 2.12 for a WebGISClient and I am using the PanZoomBar -
like in this example.

I would like to achieve a "live zoom in effect" with the zoom slider,
like in this OL3 example:
http://ol3js.org/ol3/master/examples/zoomslider.html

I know that GeoExt 2 has a such a zoom slider with live zoom. It used to
work fine with OL 2.10 but has issues with OL 2.12.

But I would prefered OL native zoom slider anyway over the GeoExt one.

So - is it possible - if yes - do you have some sample code somewhere?

Thank you,
Andreas


More information about the Users mailing list