[OpenLayers-Users] Projection issue
Andreas Hocevar
ahocevar at opengeo.org
Fri Dec 11 06:10:14 EST 2009
Hi,
your maxResolution is a bit weird. Are you sure that you want to have at
least 5650 map units (decimal degrees!) in one map pixel?
The values you get for the top-right corner are logical, given this
maxResolution value. Try to remove the maxResolution property, or choose
something near 1 to see the difference.
Regards,
Andreas.
On 2009-12-11 11:22, Sarah Schuessler wrote:
> 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
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091211/6cae9291/attachment.html
More information about the Users
mailing list