[OpenLayers-Users] WMS Change Layers depending on ZoomLevel
Yoyo
sergiu.bacioiu at gmail.com
Tue Mar 25 08:59:38 EDT 2008
layer = new OpenLayers.Layer.WMS(
"Tiled", "http://localhost:8080/geoserver/wms",
{
layers:
'topp:layer1,topp:layer2,topp:layer3,topp:layer4,topp:layer5',
format: 'image/png',
tiled: 'true',
},
{buffer: 0}
);
How can I change layers based on ZoomLevel?
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 ...................
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080325/dd454382/attachment.html
More information about the Users
mailing list