File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const proj4 = require("proj4-fully-loaded");
2222const pointIn4326 = [- 85.3097 , 35.0456 ];
2323
2424// EPSG:32617 is automatically included in proj4-fully-loaded
25- const pointInUTM = proj4 (" EPSG:4326" , " EPSG:32617" ).forward (point );
25+ const pointInUTM = proj4 (" EPSG:4326" , " EPSG:32617" ).forward (pointIn4326 );
2626// pointInUTM is [106823.88325412886, 3886600.558377227]
2727```
2828
@@ -38,7 +38,7 @@ proj4.defs("EPSG:32617", "+proj=utm +zone=17 +datum=WGS84 +units=m +no_defs");
3838
3939const pointIn4326 = [- 85.3097 , 35.0456 ];
4040
41- const pointInUTM = proj4 (" EPSG:4326" , " EPSG:32617" ).forward (point );
41+ const pointInUTM = proj4 (" EPSG:4326" , " EPSG:32617" ).forward (pointIn4326 );
4242// pointInUTM is [106823.88325412886, 3886600.558377227]
4343```
4444
You can’t perform that action at this time.
0 commit comments