Closed Anexo closed 1 year ago
I'm having the same issue.
Adding this lines to pollyfills.ts solved the problem for me (using Angular 11):
(window as any).process = { browser: true };
I'm not using Angular :( I'm using only nodejs... Any ideas?
Same issue here
The issue here had to do with the jszip options, and as of tag v0.4.0 we've now made these available as part of the zip
and download
calls. Hopefully this version should be available on npm soon.
Good news: v0.4.2 is now available.
Less good news: Mapbox changed their deployment organization so this package is now hosted under a different package
@mapbox/shp-write https://unpkg.com/@mapbox/shp-write@latest/shpwrite.js
Hi,
I am trying to convert a MultiLineString GeoJson into Shapefile and the final zip file is empty. It only contains a folder named 'layers', which is also empty.
Here is the code I am using:
PD: I am using Angular 11 and with the polyfills.ts tweak, it worked.