bugra9 / gdal3.js

Convert raster and vector geospatial data to various formats and coordinate systems entirely in the browser.
https://gdal3.js.org
GNU Lesser General Public License v2.1
300 stars 45 forks source link

README.md fix: typo dataset -> datasheets #50

Closed gregStickle closed 1 year ago

gregStickle commented 1 year ago

In the README.md under the Basic Usage section, line 5 of the code section says const mbTilesDataset = result.dataset[0]; which should read const mbTilesDataset = result.datasets[0]; as per the code I found. Using dataset throws the error TypeError: Cannot read property '0' of undefined.

README.md image

Code where datasets is used image