Skip to content

Commit aac2cf5

Browse files
authored
Fix issue with variable name
1 parent d44cd8c commit aac2cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const proj4 = require("proj4-fully-loaded");
2222
const 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

3939
const 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

0 commit comments

Comments
 (0)