Thanks, this makes sense as well.<br><br><div class="gmail_quote">On Mon, Aug 8, 2011 at 15:07, Andreas Hocevar <span dir="ltr">&lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Aug 8, 2011, at 13:30 , Jan Henrik Øverland wrote:<br>
<br>
&gt; On Mon, Aug 8, 2011 at 13:25, Andreas Hocevar &lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt; wrote:<br>
&gt; On Aug 8, 2011, at 12:45 , Julien Cigar wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; Normally the only thing to do is to use an &quot;SRS&quot; parameter, something like:<br>
&gt;<br>
&gt; This is a common pitfall when using OpenLayers. The SRS parameter will be ignored. Always. Instead, WMS layers will be requested in the SRS used by your base layer.<br>
&gt;<br>
&gt; Thanks, I see, and it makes perfectly sense when the WMS layer is an overlay. But this also goes when the WMS layer has isBaseLayer: true?<br>
<br>
</div>In this case, you have to configure the projection layer option (i.e. in the 4th constructor argument), or the layer will take the projection from the map configuration. If none is configured, it will be EPSG:4326.<br>


<br>
Andreas.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
<br>
</div></div></blockquote></div><br>