mapshaper 0.6.83 → 0.6.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mapshaper.js +1 -1
- package/package.json +1 -1
- package/www/mapshaper-gui.js +7 -2
- package/www/mapshaper.js +1 -1
package/mapshaper.js
CHANGED
|
@@ -45536,7 +45536,7 @@ ${svg}
|
|
|
45536
45536
|
});
|
|
45537
45537
|
}
|
|
45538
45538
|
|
|
45539
|
-
var version = "0.6.
|
|
45539
|
+
var version = "0.6.84";
|
|
45540
45540
|
|
|
45541
45541
|
// Parse command line args into commands and run them
|
|
45542
45542
|
// Function takes an optional Node-style callback. A Promise is returned if no callback is given.
|
package/package.json
CHANGED
package/www/mapshaper-gui.js
CHANGED
|
@@ -10779,11 +10779,16 @@
|
|
|
10779
10779
|
// finish the path if a vertex is selected (but not an interpolated point)
|
|
10780
10780
|
var finish = hoverVertexInfo?.type == 'vertex';
|
|
10781
10781
|
if (getLastArcLength(target) < 2) {
|
|
10782
|
-
|
|
10782
|
+
stop$1('Defective path');
|
|
10783
10783
|
}
|
|
10784
10784
|
if (finish && polygonMode()) {
|
|
10785
10785
|
shapes1 = target.shapes.slice(initialShapeCount);
|
|
10786
|
-
|
|
10786
|
+
try {
|
|
10787
|
+
shapes2 = convertClosedPaths(shapes1);
|
|
10788
|
+
} catch(e) {
|
|
10789
|
+
console.error(e);
|
|
10790
|
+
stop$1('Invalid path');
|
|
10791
|
+
}
|
|
10787
10792
|
}
|
|
10788
10793
|
if (shapes2) {
|
|
10789
10794
|
replaceDrawnShapes(shapes2);
|
package/www/mapshaper.js
CHANGED
|
@@ -45536,7 +45536,7 @@ ${svg}
|
|
|
45536
45536
|
});
|
|
45537
45537
|
}
|
|
45538
45538
|
|
|
45539
|
-
var version = "0.6.
|
|
45539
|
+
var version = "0.6.84";
|
|
45540
45540
|
|
|
45541
45541
|
// Parse command line args into commands and run them
|
|
45542
45542
|
// Function takes an optional Node-style callback. A Promise is returned if no callback is given.
|