Hi Bart, <br><br>My apologies, my mistake. We have 2 OL versions and it was wrongly working against 2.8. I was trying now to reproduce the errors to paste them here, but it works perfectly, some links mislaid here... and as I saw Godiva2 people had a workaround I thought this was a known issue.<br>
Sorry again and thank you, OL 2.9.1 works great!<br><br clear="all">Un saludo.<br><br>Xurxo Méndez Pérez<br><br><br><div class="gmail_quote">2010/7/15 Bart van den Eijnden <span dir="ltr">&lt;<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;">Hi,<div><br></div><div>how are you specifying your WMS layer?</div>
<div><br></div><div>It should be something like:</div><div><br></div><div>new OpenLayers.Layer.WMS(null, url, {version: &#39;1.3.0&#39;}, {});</div><div><br></div><div>Best regards,</div><div>Bart</div><div><div></div><div class="h5">
<div><br><div><div>On Jul 15, 2010, at 5:33 PM, Xurxo Mendez wrote:</div><br><blockquote type="cite"><p>Hi bart,thank you for your answer.<br>
My problem is that when i specify &#39;1.3.0&#39; using WMS constructor openlayers creates a 1.1.x version of the layer (at least that os the version that appears in the getmap and getfeatureinfo requests),so i supposed it was due to that it didn&#39;t pass that &#39;if&#39; condition as 1.3.0 layer. <br>


Best regards,<br>
Xurxo Mendez</p><p>El 15 de jul de 2010, 4:53 p.m., &quot;Bart van den Eijnden&quot; &lt;<a href="mailto:bartvde@osgis.nl" target="_blank">bartvde@osgis.nl</a>&gt; escribió:<br><br></p><div style="word-wrap: break-word;">
Hi,<div><br></div><div>but parseFloat(&quot;1.3.0&quot;) yield 1.3, so what is the problem?</div>
<div><br></div><div>Best regards,</div><div>Bart</div><div><br><div><p><font color="#500050">On Jul 15, 2010, at 4:32 PM, Xurxo Mendez wrote:

</font></p><blockquote type="cite"><p><font color="#500050">&gt; Hi all,
&gt; In OL 2.9.1, I was trying to add a WMS layer to my map, setting its &#39;VERSION&#39; parameter ...</font></p>
_______________________________________________<br>Dev mailing list<br><a href="mailto:Dev@openlayers.org" target="_blank">Dev@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>

</blockquote></div><br></div></div><div><br></div>
_______________________________________________<br>Dev mailing list<br><a href="mailto:Dev@openlayers.org" target="_blank">Dev@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
</blockquote></div><br></div></div></div></div></blockquote></div><br>