On Sunday 13 January 2008 19:47:14 Maria Panagou wrote: > I'm trying to display a different base layer, depending on zoom levels. I > use the following code:
My first idea would be to put all layers that are referenced (regardless of zoom level) in my map and then just change their properties to hide/show the ones that are applicable to the given zoom level. See the Layer.displayInLayerSwitcher and Layer.visible properties. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users