<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 2009-12-10 17:35, stela anders wrote:
<blockquote
cite="mid:b21c2bf90912100835o32475724kb5aa41d4644ac793@mail.gmail.com"
type="cite">Hello all!<br>
<br>
I´d like to create a Mapserver Layer (OpenLayers.Layer.MapServer) that
have several SubLayers... <br>
So I can Turn on off each sublayer, but JUST one is draw ...<br>
</blockquote>
<br>
You have to do that programmatically in OpenLayers. But you could give
<a class="moz-txt-link-freetext" href="http://geoext.org">http://geoext.org</a> a try. It builds upon OpenLayers and Ext JS, and
provides layer tree components, among which there is a
LayerParamLoader, which does exactly what you need. See
<a class="moz-txt-link-freetext" href="http://dev.geoext.org/trunk/geoext/examples/tree.html">http://dev.geoext.org/trunk/geoext/examples/tree.html</a> and play around
with the "Tasmania (Group Layer)" layer.<br>
<br>
Regards,<br>
Andreas.<br>
<br>
<blockquote
cite="mid:b21c2bf90912100835o32475724kb5aa41d4644ac793@mail.gmail.com"
type="cite"><br>
<br>
Thanks<br>
<br>
Stella<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Andreas Hocevar
OpenGeo - <a class="moz-txt-link-freetext" href="http://opengeo.org/">http://opengeo.org/</a>
Expert service straight from the developers.
</pre>
</body>
</html>