[OpenLayers-Users] catching zooming events

Ahti Lahtela ahti.lahtela at pp.inet.fi
Wed Feb 17 05:03:39 EST 2010


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 examples, so can someone help me how to:
- catch ZoomPanel events
- change the layer parameter of the WMS -request before sending the 
request after changing zoom level.

Thanks in advance

al



More information about the Users mailing list