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:

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 of the

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

2010-08-20 Thread 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 me why firebugs write: layer is not defined [Break on this error] layer.setVisibility(false); regards Jan :-) Am 19.08.2010 15:09, schrieb BMcBride: To make

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 me

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
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 defined

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

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

2010-08-19 Thread BMcBride
To make the layerswitcher initially visible, you can do something like: map.addControl(new OpenLayers.Control.LayerSwitcher({'ascending':false})); var ls = map.getControlsByClass('OpenLayers.Control.LayerSwitcher')[0]; ls.maximizeControl(); To set layer visibility, you can do something like:

[OpenLayers-Users] LayerSwitcher - Panel show and disable layerentry

2010-08-18 Thread Jan Tappenbeck
hi ! i search an option so aktive (visible) the layerswitcher-panel at the startevent and the possibiltiy to deaktive (disable) named layer at the startevent. can anybody help me ? regards Jan :-) ___ Users mailing list Users@openlayers.org

[OpenLayers-Users] layerswitcher position?

2010-07-29 Thread Imran Rajjad
Hi list, I have added the layer switcher in the map, it has appeard to its default position! is it possible to set its position? regards, Imran -- I.R ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

Re: [OpenLayers-Users] layerswitcher position?

2010-07-29 Thread Adrian Popa
Hello, Is this what you're looking for? http://www.listware.net/201007/openlayers-users/47573-openlayers-users-moving-layerswitcher-position-from-top-right-corner-to-bottom-left-corner.html On 07/29/2010 01:27 PM, Imran Rajjad wrote: Hi list, I have added the layer switcher in the map, it has

[OpenLayers-Users] LayerSwitcher Event

2010-06-10 Thread Rahn Hanno (rahn)
Hello, Today I try to realise a trigger for my LayerSwitcher. Something like onLayerClick or so. I want to start a function if I select/unselect a layer in the Layerswitcher. In my Layerswitcher I have a Layer. If I select this Layer, then I want to set the opacity from all other layers to

Re: [OpenLayers-Users] LayerSwitcher Event

2010-06-10 Thread Eric Lemoine
On Thu, Jun 10, 2010 at 11:59 AM, Rahn Hanno (rahn) r...@zhaw.ch wrote: Hello, Today I try to realise a trigger for my LayerSwitcher. Something like onLayerClick or so. I want to start a function if I select/unselect a layer in the Layerswitcher. In my Layerswitcher I have a Layer. If I

[OpenLayers-Users] LayerSwitcher in OpenLayers2.9.RC2 in wrong place on the map

2010-04-15 Thread paweluz
Hi! I have been wondering how come my layer switcher appears in left top corner of the map. It does not look good. Here is screen: http://img171.imageshack.us/img171/303/errir1.png When I open it it looks like this: http://img512.imageshack.us/img512/994/error2l.png In version 2.8 of

Re: [OpenLayers-Users] LayerSwitcher in OpenLayers2.9.RC2 in wrong place on the map

2010-04-15 Thread bartvde
Did you update your theme directory? The css has changed (things have been moved in to css from the LayerSwitcher). Best regards, Bart Hi! I have been wondering how come my layer switcher appears in left top corner of the map. It does not look good. Here is screen:

Re: [OpenLayers-Users] LayerSwitcher in OpenLayers2.9.RC2 in wrong place on the map

2010-04-15 Thread paweluz
Thanks a lot for your help Bart! That was it. I copied only the OpenLayers.js file without the theme folder. Now everything is working fine. Regards, Poul -- View this message in context: http://n2.nabble.com/LayerSwitcher-in-OpenLayers2-9-RC2-in-wrong-place-on-the-map-tp4906606p4906776.html

Re: [OpenLayers-Users] LayerSwitcher

2010-03-16 Thread Eric Lemoine
On Monday, March 15, 2010, Eric France de_laba...@yahoo.com wrote: Is it possible to configure the LayerSwitcher to (a) only show one overlay layer at a time, and (b) use radio buttons (in place of the checkboxes) to switch between them? Hi. Why you'd like isn't supported by the layer

[OpenLayers-Users] LayerSwitcher

2010-03-15 Thread Eric France
Is it possible to configure the LayerSwitcher to (a) only show one overlay layer at a time, and (b) use radio buttons (in place of the checkboxes) to switch between them? Eric ___ Users mailing list Users@openlayers.org

[OpenLayers-Users] LayerSwitcher

2010-03-02 Thread Rahn Hanno (rahn)
Hello list, I have another question about the LayerSwitcher. I have only one base layer. This Layer is always shown. In the LayerSwitcher there is an radio button for this layer but you can't use it. Is there a possibility hide this radiobutton in the layerswitcher? I will only show the

Re: [OpenLayers-Users] LayerSwitcher

2010-03-02 Thread bartvde
Hi, set displayInLayerSwitcher to false on your single base layer to only show the overlays in the LayerSwitcher. Best regards, Bart Hello list, I have another question about the LayerSwitcher. I have only one base layer. This Layer is always shown. In the LayerSwitcher there is an radio

Re: [OpenLayers-Users] LayerSwitcher

2010-02-25 Thread Rahn Hanno (rahn)
Von: Bart van den Eijnden [mailto:bart...@osgis.nl] Gesendet: Donnerstag, 25. Februar 2010 07:43 An: Rahn Hanno (rahn) Cc: users@openlayers.org Betreff: Re: [OpenLayers-Users] LayerSwitcher Hi, the layerswitcher.html example already shows how to place it in another div. Wrt the other

Re: [OpenLayers-Users] LayerSwitcher

2010-02-25 Thread Bart van den Eijnden
. Februar 2010 07:43 An: Rahn Hanno (rahn) Cc: users@openlayers.org Betreff: Re: [OpenLayers-Users] LayerSwitcher Hi, the layerswitcher.html example already shows how to place it in another div. Wrt the other question, set the following API properties: /** * APIProperty

[OpenLayers-Users] LayerSwitcher

2010-02-24 Thread Rahn Hanno (rahn)
Hello list, Perhaps you can help me with another question. I try to make the layerswitcher more individual. First I want to show it at another place in an extra div and not at the right border. But I can't find where I have to do this. Then I want to change the color of the div. The darkblue

Re: [OpenLayers-Users] LayerSwitcher

2010-02-24 Thread Bart van den Eijnden
Hi, the layerswitcher.html example already shows how to place it in another div. Wrt the other question, set the following API properties: /** * APIProperty: roundedCorner * {Boolean} If true the Rico library is used for rounding the corners * of the layer switcher div,

Re: [OpenLayers-Users] layerswitcher maximised event?

2009-11-28 Thread Eric Lemoine
On Thursday, November 26, 2009, Derek Watling de...@cmainfo.co.za wrote: Is there an event that triggers when the layerswitcher is maximised? If so how do I hook into it? there's not. But you can inherit from LayerSwitcher and overload the maximizeControl method: CustomLayerSwitcher =

[OpenLayers-Users] layerswitcher maximised event?

2009-11-26 Thread Derek Watling
Is there an event that triggers when the layerswitcher is maximised? If so how do I hook into it? -- View this message in context: http://n2.nabble.com/layerswitcher-maximised-event-tp4071512p4071512.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

[OpenLayers-Users] layerswitcher not working in IE7 or 8 Standards Mode

2009-11-20 Thread Joseph Miller
Hey All, I am stuck in a situation where I have to set the doctype to: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; in order to support non-map content on my page. In addition we are forcing IE8 into compatibility mode

Re: [OpenLayers-Users] LayerSwitcher and OverviewMap

2009-08-07 Thread Valeria Muñoz
thanks!! RG 2009/8/7 Bart van den Eijnden (OSGIS) bart...@osgis.nl Hi, please check out: http://openlayers.org/pipermail/users/2007-October/003405.html Best regards, Bart Valeria Muñoz wrote: HI when the map will be charge, can the LayerSwitcher and OverviewMap be open? RG

Re: [OpenLayers-Users] LayerSwitcher outside the map

2009-07-01 Thread moony
you have to edit the file Layerswitcher.js here you can change the position of the layerswitcher this.div.style.position = absolute; to this.div.style.position = static; greetings! -- View this message in context:

[OpenLayers-Users] LayerSwitcher outside the map

2009-06-30 Thread Rahn Hanno (rahn)
Hello list, Perhaps somebody can help me. I try to realise the LayerSwitcher outside the map. I read the example layerswitcher. First I make my own div where I want to place the result. div class=mapSwitcher style=width:180; display:none; position:absolute; left:785; top:68;

Re: [OpenLayers-Users] LayerSwitcher and DragFeature patched for ticket #1666?

2009-02-16 Thread dalsinao
Thanks! I've tried the new patch and it works fine. Thanks for your help! David Andreas Hocevar-2 wrote: On Wed, Feb 11, 2009 at 1:54 PM, dalsinao dalsi...@yahoo.es wrote: I use IE, but the same happens in FireFox. Yes, using OpenLayers.Layer.Vector seems to work fine with the

Re: [OpenLayers-Users] LayerSwitcher and DragFeature patched for ticket #1666?

2009-02-14 Thread Andreas Hocevar
On Wed, Feb 11, 2009 at 1:54 PM, dalsinao dalsi...@yahoo.es wrote: I use IE, but the same happens in FireFox. Yes, using OpenLayers.Layer.Vector seems to work fine with the LayerSwitcher, I've checked with your example and my patched code and it works. The problem comes when I try to use a

Re: [OpenLayers-Users] LayerSwitcher and DragFeature patched for ticket #1666?

2009-02-11 Thread dalsinao
I use IE, but the same happens in FireFox. Yes, using OpenLayers.Layer.Vector seems to work fine with the LayerSwitcher, I've checked with your example and my patched code and it works. The problem comes when I try to use a OpenLayers.Layer.WFS layer (vector-based as well), then I have the

[OpenLayers-Users] LayerSwitcher tweaking

2008-11-03 Thread Yves Moisan
Hi All, I have too many layers for the LayerSwitcher control to handle so my layers down below are hidden. Any thread where people discuss ways to modify the CSS to get smaller print and hopefully get more space for layer names ? Or get a vertical slider bar or some sort of grouping mechanism

[OpenLayers-Users] LayerSwitcher with icons and custom titles

2008-09-09 Thread Carolin Wengerter
Hello List! I've searched the list but didn't found anything. Perhaps somebody can give me a word of advice. I have got a map with different WFS-Layers and markers/icons. Now I want to include the icons in the LayerSwitcher like a legend. How can I do this? And here another question: I changed

Re: [OpenLayers-Users] LayerSwitcher/WFS Layer with Yahoo Hybrid error

2008-06-30 Thread czieler
I have created a sample here: http://webgirlunleashed.com/openlayers/test/test3.html The error is triggered when you swap to the Yahoo Hybrid layer. Eric Lemoine-3 wrote: Hi. I think this is an unknown problem. Having code allowing to reproduce the problem would be great. Regards. Eric

Re: [OpenLayers-Users] LayerSwitcher/WFS Layer with Yahoo Hybrid error

2008-06-29 Thread Eric Lemoine
Hi. I think this is an unknown problem. Having code allowing to reproduce the problem would be great. Regards. Eric 2008/6/26, czieler [EMAIL PROTECTED]: I have three base layers on my map, Google, Google Hybrid, and Yahoo Hybrid. I also have a couple of WMS layers, a Vector Layer, and a WFS

Re: [OpenLayers-Users] LayerSwitcher format - default vs Gallery Example

2008-05-22 Thread Christopher Schmidt
On Wed, May 21, 2008 at 07:55:23PM -0600, Greg Cocks wrote: Hi, Along with it being maximised on the page when opened, I liked the format of the LayerSwitcher on the gallery example at http://www.openlayers.org/gallery/multiple.html - that is, the left justify and the various layers

[OpenLayers-Users] LayerSwitcher format - default vs Gallery Example

2008-05-21 Thread Greg Cocks
Hi, Along with it being maximised on the page when opened, I liked the format of the LayerSwitcher on the gallery example at http://www.openlayers.org/gallery/multiple.html - that is, the left justify and the various layers being indented under 'Base Layer' and 'Overlays.' However my 'out

[OpenLayers-Users] LayerSwitcher control customisation

2008-04-02 Thread Simone Gadenz
Hello again. I'd like to modify the LayerSwitcher control to: - include the management of the transparency of the layers directly in there; - add buttons for each layer for reading metadata and similar information Anybody thought already about it? How is the list of the layer

Re: [OpenLayers-Users] LayerSwitcher

2007-11-15 Thread R. Ortner
Hi, the color of the layerswitcher is not the problem, the problem is for me to put it on the left side of my application. (In your posted second link the layerswitcher is still at default position outside the map). i tried to change it in the layerswitcher.js and that works basically, but

[OpenLayers-Users] LayerSwitcher

2007-11-13 Thread R. Ortner
Hi, i tried to change the position of the LayerSwitcher but were not really successfully! first, I placed the layerswitcher outside the map and I tried to change the position within the div tag but that had no effect, it still remained top right. next, I changed the layerswitcher.js, that

Re: [OpenLayers-Users] LayerSwitcher

2007-11-13 Thread R. Ortner
The problem is, that a change of the entries in the style.css rexpectively my own made style.css have no effect. I tried to change there the color of the background but there was no change respectively the color were overwritten by maybe some hardcoded code. how can I make the style.css work for

Re: [OpenLayers-Users] LayerSwitcher

2007-11-13 Thread Richard Duivenvoorde
Hi R, I think, it is really working as it should: If I take the code of the example of: http://www.openlayers.org/dev/examples/custom-style.html and add a layerswithcher as in http://www.openlayers.org/dev/examples/layerswitcher.html I can change styles like position etc in a css style blok in

Re: [OpenLayers-Users] LayerSwitcher - current base map

2007-06-13 Thread Christopher Schmidt
On Wed, Jun 13, 2007 at 07:09:32PM +1000, bradleyspencer wrote: List, I need to know which map is selected as the current base map from those available in layerSwitcher so that I can add a watermark to the map. Is there anyway to place an event on layerSwitcher that can tell me which

[OpenLayers-Users] LayerSwitcher and overlays

2007-06-01 Thread Pedrazzi Gelsomini
Hi ya! How i can disable by default the overlays of my map? I have a map with 3 Base Layers and 3 Overlays. In the LayerSwitcher the overlays are checked by default but i would like to have only one of these checked and the other two unchecked: if the user will be interested in these information

Re: [OpenLayers-Users] LayerSwitcher and overlays

2007-06-01 Thread Gregor Mosheh
Francesca Pedrazzi wrote: In the LayerSwitcher the overlays are checked by default but i would like to have only one of these checked and the other two unchecked: if the user will be interested in these information he will check them. Is this what the 'visibility' flag does for a layer, as