mapbox-gl-draw
mapbox-gl-draw copied to clipboard
Remove geojson-flatten dependency
This dependency on geojson-flatten (which itself has several more) is easily replaced.
It also turns out many of the tests to constrainFeatureMovement() were supplying faulty Polygon coordinates.
(Motivation: this was causing me some kind of spurious packaging errors when making other changes, the classic Webpack issue with require() and .default etc etc)