there was another thread on using new proj4js with OL2 http://osgeo-org.1560.x6.nabble.com/OL-2-13-1-latest-Proj4js-td5081636.html
An easy way to get version 1 working with 3857 is to create an alias: Proj4js.defs['EPSG:3857'] = Proj4js.defs['EPSG:3785'] On 20 May 2014 00:01, Phil Scadden <p.scad...@gns.cri.nz> wrote: > I got sick of servers that dont recognize 900913 and thought it time to dump > that in app and go to 3857. Discovered that proj4js didnt recognize 3857 and > was looking for def. Okay, maybe time to update proj4. Did that (2.1.2 and > also looked at the latest), to discover that this new version changes the > object name from proj4js to proj4. This breaks OL. > > Are there plans to update to the new OL? > > -- > Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, Private > Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232 > > Notice: This email and any attachments are confidential. > If received in error please destroy and immediately notify us. > Do not copy or disclose the contents. > > _______________________________________________ > Dev mailing list > d...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-dev _______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev