mapshaper 0.6.85 → 0.6.86
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/images/thumb-satellite.jpg +0 -0
- package/www/mapshaper-gui.js +7 -5
- package/www/mapshaper.js +1 -1
- package/www/page.css +2 -2
package/mapshaper.js
CHANGED
|
@@ -45574,7 +45574,7 @@ ${svg}
|
|
|
45574
45574
|
});
|
|
45575
45575
|
}
|
|
45576
45576
|
|
|
45577
|
-
var version = "0.6.
|
|
45577
|
+
var version = "0.6.86";
|
|
45578
45578
|
|
|
45579
45579
|
// Parse command line args into commands and run them
|
|
45580
45580
|
// Function takes an optional Node-style callback. A Promise is returned if no callback is given.
|
package/package.json
CHANGED
|
Binary file
|
package/www/mapshaper-gui.js
CHANGED
|
@@ -2428,7 +2428,7 @@
|
|
|
2428
2428
|
function error() {
|
|
2429
2429
|
var msg = GUI.formatMessageArgs(arguments);
|
|
2430
2430
|
console.error(msg);
|
|
2431
|
-
gui.alert('An
|
|
2431
|
+
gui.alert('An unknown error occured');
|
|
2432
2432
|
throw new Error(msg);
|
|
2433
2433
|
}
|
|
2434
2434
|
|
|
@@ -8817,7 +8817,9 @@
|
|
|
8817
8817
|
}
|
|
8818
8818
|
});
|
|
8819
8819
|
element.addEventListener('contextmenu', function(e) {
|
|
8820
|
-
|
|
8820
|
+
if (!e.ctrlKey) {
|
|
8821
|
+
_self.dispatchEvent('contextmenu', procMouseEvent(e));
|
|
8822
|
+
}
|
|
8821
8823
|
});
|
|
8822
8824
|
|
|
8823
8825
|
this.enable = function() {
|
|
@@ -10404,12 +10406,12 @@
|
|
|
10404
10406
|
} else {
|
|
10405
10407
|
deleteLastVertex(target);
|
|
10406
10408
|
}
|
|
10407
|
-
if (getLastArcLength(target) < 2) {
|
|
10408
|
-
gui.undo.undo(); // remove the path
|
|
10409
|
-
}
|
|
10410
10409
|
if (e.shapes) {
|
|
10411
10410
|
replaceDrawnShapes(e.shapes);
|
|
10412
10411
|
}
|
|
10412
|
+
if (getLastArcLength(target) < 2) {
|
|
10413
|
+
gui.undo.undo(); // remove the path
|
|
10414
|
+
}
|
|
10413
10415
|
});
|
|
10414
10416
|
|
|
10415
10417
|
function turnOn() {
|
package/www/mapshaper.js
CHANGED
|
@@ -45574,7 +45574,7 @@ ${svg}
|
|
|
45574
45574
|
});
|
|
45575
45575
|
}
|
|
45576
45576
|
|
|
45577
|
-
var version = "0.6.
|
|
45577
|
+
var version = "0.6.86";
|
|
45578
45578
|
|
|
45579
45579
|
// Parse command line args into commands and run them
|
|
45580
45580
|
// Function takes an optional Node-style callback. A Promise is returned if no callback is given.
|
package/www/page.css
CHANGED