[OpenLayers-Dev] WMS 1.3.0 issue

Bart van den Eijnden bartvde at osgis.nl
Thu Jul 15 12:22:50 EDT 2010


Hi,

how are you specifying your WMS layer?

It should be something like:

new OpenLayers.Layer.WMS(null, url, {version: '1.3.0'}, {});

Best regards,
Bart

On Jul 15, 2010, at 5:33 PM, Xurxo Mendez wrote:

> Hi bart,thank you for your answer.
> 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. 
> Best regards,
> Xurxo Mendez
> 
> El 15 de jul de 2010, 4:53 p.m., "Bart van den Eijnden" <bartvde at osgis.nl> escribió:
> 
> 
> Hi,
> 
> but parseFloat("1.3.0") yield 1.3, so what is the problem?
> 
> Best regards,
> Bart
> 
> On Jul 15, 2010, at 4:32 PM, Xurxo Mendez wrote:
> 
>> > Hi all, > In OL 2.9.1, I was trying to add a WMS layer to my map, setting its 'VERSION' parameter ...
>> 
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
> 
> 
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20100715/77179846/attachment.html


More information about the Dev mailing list