Hi, Andreas Hocevar:<br><br>Thanks for your attention,however you may misunderstand me .<br><br>I want the layerswitcher change the layer in this manner:<br><br><a href="http://i.stack.imgur.com/PNRHC.png">http://i.stack.imgur.com/PNRHC.png</a><br>

<br>Thanks.<br><br><div class="gmail_quote">在 2011年12月17日 下午4:08,Andreas Hocevar <span dir="ltr">&lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt;</span>写道:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p>Ok, you&#39;re looking for the isBaseLayer option. It can be set as configuration option on a layer, and will cause the layer to become part of the baseLayer collection. And this is the only layer collection on the library level. Members of this collection are mutually exclusive, so only one can be visible at a time. </p>

<span class="HOEnZb"><font color="#888888">

<p> Andreas. </p></font></span><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Dec 17, 2011 7:42 AM, &quot;maven apache&quot; &lt;<a href="mailto:apachemaven0@gmail.com" target="_blank">apachemaven0@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<p>In fact,I mean if there is any concert like the layercollection which may contains more than one layer. And the layerswitcher see the layercollection as radio button and layer as check box.</p>
<div class="gmail_quote">在 2011-12-15 晚上9:35,&quot;Andreas Hocevar&quot; &lt;<a href="mailto:ahocevar@opengeo.org" target="_blank">ahocevar@opengeo.org</a>&gt;写道:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Maybe you&#39;re looking for something else than OpenLayers? OpenLayers<br>
does not have the concept of a maptype.<br>
<br>
Andreas.<br>
<br>
On Thu, Dec 15, 2011 at 2:21 PM, maven apache &lt;<a href="mailto:apachemaven0@gmail.com" target="_blank">apachemaven0@gmail.com</a>&gt; wrote:<br>
&gt; It seems that,there is no maptype related.<br>
&gt;<br>
&gt; 2011/12/15 Andreas Hocevar &lt;<a href="mailto:ahocevar@opengeo.org" target="_blank">ahocevar@opengeo.org</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Maybe you find UML diagrams helpful:<br>
&gt;&gt; <a href="http://trac.osgeo.org/openlayers/wiki/UML" target="_blank">http://trac.osgeo.org/openlayers/wiki/UML</a><br>
&gt;&gt;<br>
&gt;&gt; Andreas.<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Dec 15, 2011 at 12:34 PM, maven apache &lt;<a href="mailto:apachemaven0@gmail.com" target="_blank">apachemaven0@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; Hi:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I want to know if there is any document about the concepts and<br>
&gt;&gt; &gt; relationship<br>
&gt;&gt; &gt; between the map/maptype/layers/overlay ?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I thinks sometime it is necessary if we want to do some customzation.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I have read the doc from <a href="http://ol.org" target="_blank">ol.org</a>,but the api document is simple.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Any complete documents?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Users mailing list<br>
&gt;&gt; &gt; <a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
&gt;&gt; &gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Andreas Hocevar<br>
&gt;&gt; OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
&gt;&gt; Expert service straight from the developers.<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
</blockquote></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div>
</div></div></blockquote></div><br>