mapshaper 0.6.26 → 0.6.27
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 +7 -1
- package/package.json +1 -1
- package/www/mapshaper.js +7 -1
package/mapshaper.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function () {
|
|
2
2
|
|
|
3
|
-
var VERSION = "0.6.
|
|
3
|
+
var VERSION = "0.6.27";
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var utils = /*#__PURE__*/Object.freeze({
|
|
@@ -33037,6 +33037,12 @@ ${svg}
|
|
|
33037
33037
|
if (thatClass == -1) {
|
|
33038
33038
|
if (thisClass == -1) {
|
|
33039
33039
|
thisClass = classCount++;
|
|
33040
|
+
}
|
|
33041
|
+
if (Array.isArray(classToDataIndex[thisClass])) {
|
|
33042
|
+
if (!classToDataIndex[thisClass].includes(dataId)) {
|
|
33043
|
+
classToDataIndex[thisClass].push(dataId);
|
|
33044
|
+
}
|
|
33045
|
+
} else {
|
|
33040
33046
|
classToDataIndex[thisClass] = [dataId];
|
|
33041
33047
|
}
|
|
33042
33048
|
dataToClassIndex[dataId] = thisClass;
|
package/package.json
CHANGED
package/www/mapshaper.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function () {
|
|
2
2
|
|
|
3
|
-
var VERSION = "0.6.
|
|
3
|
+
var VERSION = "0.6.27";
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var utils = /*#__PURE__*/Object.freeze({
|
|
@@ -33037,6 +33037,12 @@ ${svg}
|
|
|
33037
33037
|
if (thatClass == -1) {
|
|
33038
33038
|
if (thisClass == -1) {
|
|
33039
33039
|
thisClass = classCount++;
|
|
33040
|
+
}
|
|
33041
|
+
if (Array.isArray(classToDataIndex[thisClass])) {
|
|
33042
|
+
if (!classToDataIndex[thisClass].includes(dataId)) {
|
|
33043
|
+
classToDataIndex[thisClass].push(dataId);
|
|
33044
|
+
}
|
|
33045
|
+
} else {
|
|
33040
33046
|
classToDataIndex[thisClass] = [dataId];
|
|
33041
33047
|
}
|
|
33042
33048
|
dataToClassIndex[dataId] = thisClass;
|