Hi, just configure
projection: "EPSG:3857" in the WMS layer's options. GMaps v3 uses "EPSG:900913" by default. Andreas. 2012/4/18 Luís de Sousa <[email protected]>: > Dear all, > > I'm trying to overlay some WMS layers on the Google Maps base layers. Both > the map and the WMS layers are defined with the Sperical Mercator projection > (EPSG:3857). But for some reason, all GetMap requests to the WMS overlays > are modified by OpenLayers to the EPSG:900913 SRS. This is the same > projection, but the server only knows the EPSG:3857 code. > > Is there a way I can prevent OpenLayers from modifying the request? Or some > way to correct it before it is posted to the server? > > Thank you, > > Luís > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/Layers-on-EPSG-3857-over-Google-Maps-tp4894411p4894411.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
