Re: [OpenLayers-Users] add, remove base layers depending on zoom, change baselayer

2008-01-14 Thread Maria Panagou
you check this behavior visiting my app http://gaia.dbnet.ece.ntua.gr/mpanagou/ol_start.htm -- View this message in context: http://www.nabble.com/add%2C-remove-base-layers-depending-on-zoom%2C-change-baselayer-tp14789355p14814197.html Sent from the OpenLayers Users mailing list archive at

Re: [OpenLayers-Users] add, remove base layers depending on zoom, change baselayer

2008-01-14 Thread Maria Panagou
Yes, but if refer to satellite layer in this way, wouldn't that mean that when I zoom in that layer, something will happen? I really want something to happen (display/hide layers) when I zoom in the map generally. At initialization of map, layer satellite is hidden and off the layerswitcher so,

Re: [OpenLayers-Users] add, remove base layers depending on zoom, change baselayer

2008-01-14 Thread Attila Csipa
On Monday 14 January 2008 23:33:04 Maria Panagou wrote: Yes, but if refer to satellite layer in this way, wouldn't that mean that when I zoom in that layer, something will happen? I really want something to happen (display/hide layers) when I zoom in the map generally. At initialization of

Re: [OpenLayers-Users] add, remove base layers depending on zoom, change baselayer

2008-01-13 Thread Attila Csipa
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