[OpenLayers-Users] Projection issue

Sarah Schuessler sarah_flip at yahoo.de
Fri Dec 11 05:22:16 EST 2009


Hi list,

I`m using mapfish and I want to load WMS/ArcIMS layer. But I see that my coordinates from bbox are wrong:
I get something like 9.5,48.5,90409.5,90448.5. WMS epsg is 4326.
projection: new OpenLayers.Projection("EPSG:4326"), //default
displayProjection: new OpenLayers.Projection("EPSG:4326"),
units: "m",
numZoomLevels: 12,
maxResolution: 5650,
maxExtent: new OpenLayers.Bounds(9.5,48.5,9.6,48.6),  

 new OpenLayers.Layer.WMS("INFOGIS_WMS", "http://myserver/wmsconnector/com.esri.wms.Esrimap/GIS_layer?",
        {layers: '0', format: "image/png", transparent: false, BGCOLOR: '0xCC00CC'  }, {projection: "EPSG:4326", isBaseLayer: true}),

How can I solve this? Any hints are welcome.

best regards
Sarah


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091211/9658a1bd/attachment.html


More information about the Users mailing list