- Fix
npm audit
warnings from a dependency. - Fix reversing of coordinates when there are more than 2
- Added
--precision
command line option. - Fix to precision to support a value of
0
.
- Added
--toGeoJSON
command line option.
- Fix issue with negative rounding.
- Add
.toGeoJSON
method to convert an encoded polyline to GeoJSON LineString.
- Add
.fromGeoJSON
method to encode GeoJSON geometries as polylines without needing to manually flip coordinates.