[OpenLayers-Users] OpenLayers 2.12 and WMS version 3

Bart van den Eijnden bartvde at opengeo.org
Thu Feb 14 10:29:54 PST 2013


What WMS server are you using?

Sounds like it's not obeying the spec.

Best regards,
Bart

-- 
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.



On Feb 14, 2013, at 7:06 PM, Rob Hyx <robhyx at gmail.com> wrote:

> Thanks again for your suggestion. I was able to step through the code and figure out where it was reversing the coordinates. In the end it didn't seem like any configuration I made to the layer itself made any different. By adding: OpenLayers.Projection.defaults['EPSG:4326'].yx = false made it force not to reverse the coordinates. Can anyone tell me that defaults to true and / or why the configuration on the layer doesn't seem to make a difference?
> 
> On Thu, Feb 14, 2013 at 11:29 AM, Diego Guidi <diegoguidi at gmail.com> wrote:
> Diego Guidi
> 
> 
> > Thanks for your reply. How do I do that? I tried yx:['EPSG:4326'], but that
> > didn't change anything.
> If I remember well you should write
> yx[{['EPSG:4326': true }]
> 
> but it's the same as the default projection, so give a try also to
> yx[{['EPSG:4326': false }]
> 
> or, even better, use openlayers.debug and check how the wms string is build
> 
> 
> 
> -- 
> HYX
> http://hyx-music.com
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130214/178e7f32/attachment-0003.html>


More information about the Users mailing list