layer = new OpenLayers.Layer.WMS(<br> "Tiled", "<a href="http://localhost:8080/geoserver/wms">http://localhost:8080/geoserver/wms</a>",<br> {<br> layers: 'topp:layer1,topp:layer2,topp:layer3,topp:layer4,topp:layer5',<br>
format: 'image/png',<br> tiled: 'true',<br> },<br> {buffer: 0} <br> );<br><br>How can I change layers based on ZoomLevel?<br>
<br>I want to display topp:layer1 and topp:layer2. When i zoom in two levels I want to display topp:layer1, topp:layer2 and topp:layer3 ...................