<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hello,<br>I am new to OpenLayers and I try to add some kind of tree into the LayerSwitcher. I found an example of grouped layers:<br>http://dev.openlayers.org/sandbox/jachym/openlayers/examples/layer-groups.html<br>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: "".<br>var layer = new OpenLayers.Layer.WMS( "",<br> "http://www.....",<br> {layers: "...",<br> transparent: "true", format: "image/png"},<br> {group: ".../...."<br> });<br><br>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)<br>it is spoken of options, but I didn't find out which options are possible at all.<br> <br>Thanks for any help,<br>Astrid<br><br><br><br><br><br /><hr />Schlafmütze oder Querdenker? <a href='http://redirect.gimas.net/?n=M0811LiveBattleDE&d=http://www.livebattle.de' target='_new'>Zeig bei Live Battle, was du auf dem Kasten hast!</a></body>
</html>