D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
ThomasG77
Full window
Github gist
Proj4js conversion using Lambert 93 and the new proj4js API (v2.x)Open your JavaScript console to see the result
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="chrome=1"> <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width"> <title>proj4js v2 example </title> </head> <body> <script src="//cdnjs.cloudflare.com/ajax/libs/proj4js/2.2.2/proj4.js" type="text/javascript"></script> <script src="//epsg.io/2154.js" type="text/javascript"></script> <script> var epsg2154 = proj4('EPSG:2154'); console.log(proj4('EPSG:4326', epsg2154, [-1.5603, 47.2383])); console.log(proj4(epsg2154,[-1.5603, 47.2383])); console.log(proj4('EPSG:4326',epsg2154).forward([-1.5603, 47.2383])); console.log(proj4(epsg2154,'EPSG:4326').inverse([-1.5603, 47.2383])); console.log(proj4(epsg2154).forward([-1.5603, 47.2383])); console.log(proj4(epsg2154).inverse([355199.18362550647, 6691959.121707187])); </script> </body> </html>
https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.2.2/proj4.js
https://epsg.io/2154.js