Re: [OpenLayers-Users] catching zooming events

2010-02-17 Thread ahlah
Hi, sorry but my explanation was probably not clear enough... Minscale/Maxscale solution in Mapserver side is propabably the best solution if the WMS-layer is overlay layer in OL client but I want to change the base layer depending on zoom level. I have 7 different topografic (raster) map level

Re: [OpenLayers-Users] catching zooming events

2010-02-17 Thread Christopher Schmidt
On Wed, Feb 17, 2010 at 12:03:39PM +0200, Ahti Lahtela wrote: > Hi, > > I'm new with OpenLayers and I have working example which contains WMS-layer. > > Now I want to catch zooming events (control ZoomPanel) and change the > layers -parameter in WMS request. The goal is to load suitable layer >

[OpenLayers-Users] catching zooming events

2010-02-17 Thread Ahti Lahtela
Hi, I'm new with OpenLayers and I have working example which contains WMS-layer. Now I want to catch zooming events (control ZoomPanel) and change the layers -parameter in WMS request. The goal is to load suitable layer from WMS-MapServer depending the new zoom level. I didn't find suitable ex