When I try to run GeoPackage.GeoPackageAPI.create() in the browser it fails with Error: Unable to create GeoPackage.. The root error seems to be Failed to create adapter TypeError: Cannot read properties of undefined (reading 'startsWith'). Any ideas what I'm doing wrong? According to the API docs the argument to create is ignored/not necessary when running in the browser.
When I try to run
GeoPackage.GeoPackageAPI.create()
in the browser it fails withError: Unable to create GeoPackage.
. The root error seems to beFailed to create adapter TypeError: Cannot read properties of undefined (reading 'startsWith')
. Any ideas what I'm doing wrong? According to the API docs the argument tocreate
is ignored/not necessary when running in the browser.