mapbox / geojson.io

A quick, simple tool for creating, viewing, and sharing spatial data
http://geojson.io/
ISC License
1.87k stars 560 forks source link

Fix WKX related functions #881

Open lokkju opened 5 months ago

lokkju commented 5 months ago

The WKX version current used for WKB/WKT/etc functionality has been broken due to it's dependency on Buffer

This pull request updates the WKX library to the newest version, and adds a Buffer polyfill as required

note: I'm not sure which version of npm to use to generate package-lock.json; the lockfileVersion has changed, and I may need to regenerate it before merging