block by ThomasG77 f5a6a1b8d5a2b7c3f6c8f8d3745c535c


Alternative to bundle with full projection support

Some people prefers using a full bundle Proj4js ( For server side, I like the approach but for client side, it bothers me to get the full bundle as I prefer loading on the fly the projection(s)

I made a short sample with two approaches (see comments in index.js). Code depends from availability from and related APIs

Recipe to try the sample

git clone load-proj4js-on-the-fly
npm i
node index.js