<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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: '1.3.0'}, {});</div><div><br></div><div>Best regards,</div><div>Bart</div><div><br><div><div>On Jul 15, 2010, at 5:33 PM, Xurxo Mendez wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>Hi bart,thank you for your answer.<br>
My problem is that when i specify '1.3.0' 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't pass that 'if' condition as 1.3.0 layer. <br>

Best regards,<br>
Xurxo Mendez</p><p>El 15 de jul de 2010, 4:53 p.m., "Bart van den Eijnden" &lt;<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>&gt; escribió:<br><br></p><div style="word-wrap:break-word">Hi,<div><br></div><div>but&nbsp;parseFloat("1.3.0") 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 'VERSION' 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 class="webkit-block-placeholder"></div>
_______________________________________________<br>Dev mailing list<br><a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>http://openlayers.org/mailman/listinfo/dev<br></blockquote></div><br></div></body></html>