src/core/geo.js
Function save
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
save: function (format) {
switch (format) {
case "wkt":
saveAs(
new Blob([this.toWKT()], { type: "text/plain;charset=utf-8" }),
Function createZippedShapefile
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createZippedShapefile(gj, options) {
// Alternate to function `zip` in `shp-write/src/zip`, but with option to
// store files in root of zipped shapefile.
//
// All behaviour is the same as the original function, with the exception