[OpenLayers-Dev] Change in Pro4js library affecting OL
openlayers at peterrobins.co.uk
Mon Jun 16 07:51:19 PDT 2014
there was another thread on using new proj4js with OL2
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.scadden at 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
> Dev at lists.osgeo.org
More information about the Dev