Closed mike-mcgann closed 10 years ago
Then Proj4js packaged with the latest Proj4Leaflet is from the "new" Proj4js, maintained on GitHub: https://github.com/proj4js/proj4js, It is version 1.3.4.
I'm would guess they would be very happy if you submit more projection support to them!
Looking around, it seems that the support for that was newer than I originally thought. In version 1.3.4, it is not there:
But in 1.4.0 it is:
I'll just try a newer distribution and it should work. Thanks.
I've noticed that the proj4.js provided with Proj4Leaflet does not have "stere" included which is used in the definition of EPSG:3031 (Antarctic Polar Stereographic). It does have "sterea" but it does not appear to be a drop-in replacement. While I don't completely understand the differences between the two, EPSG:3031 was not working for me when using "sterea" and would give an NaN value when getting the view extent. I hacked the "stere" support back into the provided proj4.js and everything seemed to work fine.
I'm not sure what the origin of the distributed proj4.js is in this project. Is it just a require.js-ified version of the NPM? Is there anyway "stere" could be included back in?