[OpenLayers-Users] Change WMS Layer to Single Tile Dynamically

Donald Kerr donald.kerr at dkerr.co.uk
Tue Apr 17 13:24:59 EDT 2012


I have a WMS layer where I would like to be able to switch between
"singleTile: false" and "singleTile: true" dynamically as the user zooms to
a certain level. Is this possible to do?

I know that I can create two layers and switch baselayers by checking the
map.zoom on the layer.loadstart event but it would be nice to be able to
change the WMS layer options dynamically.

Thanks.

Donald



More information about the Users mailing list