[OpenLayers-Users] How to group layers in the LayerSwitcher?
Astrid Müller
astridmueller at live.de
Fri Nov 7 10:36:20 EST 2008
Hello,
I am new to OpenLayers and I try to add some kind of tree into the LayerSwitcher. I found an example of grouped layers:
http://dev.openlayers.org/sandbox/jachym/openlayers/examples/layer-groups.html
I tried to do the same, but it doesn't work. In this example a layer is given to a group with the property group: "".
var layer = new OpenLayers.Layer.WMS( "",
"http://www.....",
{layers: "...",
transparent: "true", format: "image/png"},
{group: ".../...."
});
I also have a problem to find a list of possible options I can use. In the Mapping Library (http://dev.openlayers.org/docs/files/OpenLayers-js.html)
it is spoken of options, but I didn't find out which options are possible at all.
Thanks for any help,
Astrid
_________________________________________________________________
MSN Video: Videoclips im Messenger? Ausprobieren und gemeinsam Spaß haben!
http://redirect.gimas.net/?n=M0811xVideoDE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081107/b14ad5cc/attachment.html
More information about the Users
mailing list