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:
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
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
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
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
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
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
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:
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
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
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
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
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
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
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:
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
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
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
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
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
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
. 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
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
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,
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 =
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.
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
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
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:
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;
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
47 matches
Mail list logo