<br><br>On Monday, February 6, 2012, Kjel Anderson &lt;<a href="mailto:kanderson@truevectortech.com">kanderson@truevectortech.com</a>&gt; wrote:<br>&gt; Hey everyone,<br>&gt; I&#39;m having trouble with maxScale. I have it set as follows:<br>
&gt;             lata = new OpenLayers.Layer.WMS(<br>&gt;                     &quot;lata_boundaries - Untiled&quot;, &quot;<a href="http://localhost:8080/geoserver/wms">http://localhost:8080/geoserver/wms</a>&quot;,<br>&gt;                     {<br>
&gt;                         srs: &#39;EPSG:900913&#39;,<br>&gt;                         layers: &#39;DWT:dwt_lata_proj&#39;,<br>&gt;                         styles: &#39;dwt_lata&#39;,<br>&gt;                         format: format,<br>
&gt;                         transparent: true,<br>&gt;                         minScale: 50000,<br>&gt;                         maxScale: 8000000<br>&gt;                     },<br>&gt;                     {singleTile: true, ratio: 1}<br>
&gt;                 );<br>&gt; Can you see anything obviously wrong with this?<br><br>minScale and maxScale shouldn&#39;t be params sent in WMS GetMap requests. They should be options of the Layer.WMS object. So try moving these properties to the 4th argument, where singleTile and ratio are defined.<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>