[OpenLayers-Users] transform coordinates
Pedro Costa
pedrocostaarma at sapo.pt
Tue Jul 3 04:53:52 PDT 2012
Em 03-07-2012 12:38, Steve Way escreveu:
> I would suggest setting the SRS of your map (EPSG:90913) in the WMS
> request also.
I've tried like that:
var ruas = new OpenLayers.Layer.WMS(
'ruas',
'http://localhost:8080/geoserver/it.geosolutions/wms',
{layers: 'it.geosolutions:ruas',
styles: 'line',
srs: 'EPSG:900913',
format: 'image/png',
transparent: true
},{isBaseLayer: false});
But doesn't work!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120703/ccc7e122/attachment.html>
More information about the Users
mailing list