<br><br>On Sunday, October 30, 2011, Eric Lemoine &lt;<a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a>&gt; wrote:<br>&gt;<br>&gt;<br>&gt; On Sunday, October 30, 2011, Ricardo Bayley &lt;<a href="mailto:ricardo.bayley@gmail.com">ricardo.bayley@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Ho everyone,<br>&gt;&gt; Does anybody know why the transitionEffect is not working ?<br>&gt;&gt; this is my config<br>&gt;&gt; gwcLayer : new OpenLayers.Layer.WMS(<br>&gt;&gt; &quot;myGWC&quot;,<br>&gt;&gt; [&quot;<a href="http://localhost:8080/geowebcache/service/wms">http://localhost:8080/geowebcache/service/wms</a>&quot; ],<br>
&gt;&gt;<br>&gt;&gt; {<br>&gt;&gt;<br>&gt;&gt; sphericalMercator: true,<br>&gt;&gt; tileSize: new OpenLayers.Size(256,256),<br>&gt;&gt; layers: &quot;Argentina&quot;,<br>&gt;&gt; format: &#39;image/png&#39;,<br>&gt;&gt; tileLoadingDelay:0,<br>
&gt;&gt; transitionEffect: &#39;resize&#39;,<br>&gt;&gt; minZoomLevel: 0, <br>&gt;&gt; maxZoomLevel: 8<br>&gt;&gt; }<br>&gt;<br>&gt; The signature of OpenLayers.Layer.WMS is:<br>&gt;<br>&gt; OpenLayers.Layer.WMS(name, url, params, options)<br>
&gt;<br>&gt; &quot;params&quot; include parameters sent in WMS GetMap requests. &quot;layers&quot; and &quot;format&quot; should indeed be params.<br>&gt;<br>&gt; &quot;options&quot; include options for the OpenLayers.Layer.WMS instance.<br>
&gt;<br>&gt; In your case tileLoadingDelay, transitionEffect, minZoomLevel, and maxZoomLevel should be *options* as opposed to params.<br><br>tileSize shoud be an option as well. And the sphericalMercator option isn&#39;t applicable to OpenLayers.Layer.WMS.<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>