I have solved this myself. Changing the options to:
{ isBaseLayer: false, format: "image/png", serverResolutions:
[1.1943285667419434, 0.5971642833709717, 0.29858214168548586], resolutions:
[1.1943285667419434, 0.5971642833709717, 0.29858214168548586], buffer: 0 }
makes it work.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Disable-TileCache-layer-in-LayerSwitcher-where-zoom-levels-not-available-tp5623130p5623244.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users