Re: [OpenLayers-Users] LayerSwitcher - Panel show and disable layerentry - additional

2010-08-23 Thread Marc Jansen
Hi Jan, I'd suggest continuing this thread in English, even though we both speek German. The order of layers in the LayerSwitcher can be controlled using the configuration option "ascending". Just play around with that one: http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/O

Re: [OpenLayers-Users] LayerSwitcher - Panel show and disable layerentry - additional

2010-08-21 Thread Jan Tappenbeck
Am 20.08.2010 21:40, schrieb Marc Jansen: > Hi Jan, > > looks as if you are still adding two LayerSwitcher Controls: > >1. in the Map-Constructor (new OpenLayers.Map(...)) >2. and one in line 219 (map.addControl(new > OpenLayers.Control.LayerSwitcher());) > > I'd suggest getting rid o

Re: [OpenLayers-Users] LayerSwitcher - Panel show and disable layerentry - additional

2010-08-20 Thread Marc Jansen
Hi Jan, looks as if you are still adding two LayerSwitcher Controls: 1. in the Map-Constructor (new OpenLayers.Map(...)) 2. and one in line 219 (map.addControl(new OpenLayers.Control.LayerSwitcher());) I'd suggest getting rid of the second one. What exactly do you mean by deactivate t

Re: [OpenLayers-Users] LayerSwitcher - Panel show and disable layerentry - additional

2010-08-20 Thread Jan Tappenbeck
Am 20.08.2010 15:05, schrieb BMcBride: > > OK- So it looks like you have several instances of the LayerSwitcher control > in your code (see lines 46, 62, 219). This is why it does not appear to hide > correctly. Remove 2 of these controls and you should be all set. > > As for your "layer not defin

Re: [OpenLayers-Users] LayerSwitcher - Panel show and disable layerentry - additional

2010-08-20 Thread BMcBride
OK- So it looks like you have several instances of the LayerSwitcher control in your code (see lines 46, 62, 219). This is why it does not appear to hide correctly. Remove 2 of these controls and you should be all set. As for your "layer not defined" error... I was assuming that you were trying

Re: [OpenLayers-Users] LayerSwitcher - Panel show and disable layerentry - additional

2010-08-20 Thread Jan Tappenbeck
this version show the panel permanent - is it possible to hide again by the (+) sign ??? regards Jan :-) Am 20.08.2010 13:13, schrieb Jan Tappenbeck: > HI ! > > thanks for the message - and it work - look at: > > http://www.tappenbeck.net/osm/maps/deu/index_new.php?id=1017 > > but can you tell