Skip to content

Commit 9b2a982

Browse files
authored
Update README.md
1 parent 04db5c0 commit 9b2a982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ console.log(`Pixel covers the following GPS area:`, gpsBBox);
9494
const rasters = await image.readRasters();
9595
const { width, [0]: raster } = rasters;
9696
const elevation = raster[x + y * width];
97-
console.log(`The elevation at (${lat},${long}) is ${elevation}m`);
97+
console.log(`The elevation at (${lat.toFixed(6)},${long.toFixed(6)}) is ${elevation}m`);
9898
```
9999

100100
## Advanced Example Usage

0 commit comments

Comments
 (0)