<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" <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>> escribió:<br><br><div style="word-wrap:break-word">Hi,<div><br></div><div>but 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">> Hi all,
> 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></p>