<br><br>On Sunday, February 26, 2012, Andreas Hocevar  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is not a regression caused by<br>
<a href="https://github.com/openlayers/openlayers/pull/219" target="_blank">https://github.com/openlayers/openlayers/pull/219</a>. I don&#39;t even think<br>
it is a regression at all - at least I do not remember that this ever<br>
worked, because a layer&#39;s maxExtent was never set to the base layer&#39;s<br>
maxExtent. @Eric, this is the issue that you and I discussed in<br>
<a href="https://github.com/openlayers/openlayers/pull/177" target="_blank">https://github.com/openlayers/openlayers/pull/177</a>.<br>
<br>
Andreas.</blockquote><div><br></div><div>You&#39;re right Andreas. I now also don&#39;t see how this could have ever worked.</div><div><br></div><div>François, the WMS layer has no maxExtent set in its options so it gets its maxExtent value from the map, which is [-180,-90,180,90] and not what you want. OpenLayers has always behaved this way in our opinions.</div>
<br><br>-- <br>Eric Lemoine<br><br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel : 00 33 4 79 44 44 96<br>Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
<a href="http://www.camptocamp.com">http://www.camptocamp.com</a><br><br>