Ok, my distraction:<div><br></div><div> new OpenLayers.Layer.OSM("osm", {projection: new OpenLayers.Projection('EPSG:4326')})</div><div><br></div><div>Should be </div><div> new OpenLayers.Layer.OSM("osm", "", {projection: new OpenLayers.Projection('EPSG:4326')})</div><div><br></div><div><br><br><br><div class="">Sent from Alto - <a href="http://altomail.com">altomail.com</a></div><br><br><br><hr style="border:0;height:1px;color:#999;background-color:#999;width:100%;margin:0 0 9px 0;padding:0;"><b>From: </b>mail.roliveira@gmail.com<mail.roliveira@gmail.com><br><b>To: </b><OPENLAYERS-USERS@lists.osgeo.org><br><b>Sent: </b>Tuesday, May 28, 2013<br><b>Subject: </b>Change from OpenLayers.Layer.Google to OpenLayers.Layer.OSM<br><br><title></title>I'm confused about EPSGs used by Google's layer and OSM layer.<div><br></div><div>My project has geoserver serving layers in EPSG:4326 projection.</div><div><br></div><div>When I create a google layer:</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">     </span>        var gmap = new OpenLayers.Layer.Google("Google Streets", {numZoomLevels: 20});</div><div><br></div>EPSG is 4326,</div><div>and units are in degrees.</div><div><br></div><div>So I have no problem when requesting a WMS layer and data is placed correctly.</div><div><br></div><div>However, if I switch to OSM layer:</div><div><br></div><div><span>    </span>var osm = new OpenLayers.Layer.OSM("osm", {projection: new OpenLayers.Projection('EPSG:4326')});</div><div><br></div><div>EPSG is 900913,</div><div>and units are in meters.</div><div><br></div><div>My questions:</div><div>- Why is OSM layer projection EPSG:900913?</div><div>- Can I have a OSM baseLayer in a different projection? The {projection: new OpenLayers.Projection('EPSG:4326')} argument seemed to have no effect on the layer.</div><div><br></div><div>Thanks in advance,</div><div>Ruben</div><div><br></div><div><br><br><div class="">Sent from Alto - <a href="http://altomail.com">altomail.com</a></div></div></div>