[OpenLayers-Users] different projection and units

dome febbo domenico.febbo at gmail.com
Fri Jan 19 11:46:28 EST 2007


Hi list,
I need to use a WMS service with a different projection than EPSG:4236
but the parameters are ignored and query string contain SRS=EPSG:4236
and BBOX are in degree units.

This is code about problem:

var test_OL = new OpenLayers.Layer.WMS( "Test_OL",

"http://localhost/cgi-bin/mapserv.exe?map=C:/test1_wms.map",
                            {layers: 'test1', projection:
'EPSG:54004', units:'m'});
map.addLayer(test_OL);

Why OL (2.2) ignore my request?

Best Regards,
Domenico



More information about the Users mailing list