Le samedi 12 janvier 2008 12:20, Cranio a écrit : > So, this newbie managed to get his externap Mapserver workin on OpenLayers. > Now another problem for me: I tried to add a Google layer, it displays > fine, but doesn't line up with my other WMS map, nor with the MetaCarta WMS > layer (the default one of many examples). > > So, I guess, I have projection issues, but I am lost between how to define: > - the Mapserver Mapfile projection (now served as epsg:26592) > - the single layers in mapfiles projections (now undeclared) > - the Openlayers map projection (I believe that, now in my test programs, > it is default epsg:4632) > > to have Google or Yahoo WMS maps correctly line up with mine. > Any help appreciated and sorry for the newbie question :) Hi,
You need to use 'SphericalMercator' parameter in your map option and in your google options, See http://trac.openlayers.org/wiki/SphericalMercator for correct information ;) Y. -- Yves Jacolin ------------- http://yjacolin.gloobe.org http://softlibre.gloobe.org _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
