As far as I know set the option sphericalMercator:false on the Google layer, and it will be display in lonlat. Because commercial layers uses a spherical model of the Earth, they won't line up correctly with you WMS layers in EPSG:4326, which uses an ellipsoidal geometric model. You will see a shift between the layers.
I' ve solved this with GeoServer 1.6-beta3 and setting EPSG:900913 to the map, so I send the request in this projection. Taking this way both layers line up correctly. Regards 2007/10/19, Armin Wäspy <[EMAIL PROTECTED]>: > > hi all, > I'm currently working on an OL with a few WMS layers: > > > http://rips-uis.lubw.baden-wuerttemberg.de/rips/wms_viewer/test/myOpenLayer.php > > like you can see the user has the possibility to select the base layer > between google maps, ve or yahoo or others. > the problem is that the wms layers are provided in EPSG 4326 and the > projection of the commercial services (google...) are in whatever (EPSG: > 900913). the point is i don't want (because i want to use wms where i don't > have admin rights) to use the google projection. > > I found this in the list but i don't know how i can do this in the right > way. > http://www.mail-archive.com/[email protected]/msg00312.html > > any help? > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
