[OpenLayers-Users] add, remove base layers depending on zoom,
change baselayer
Attila Csipa
plists at prometheus.org.yu
Sun Jan 13 14:25:23 EST 2008
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.
More information about the Users
mailing list