w-gis 1.0.34 → 1.0.36
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/.eslintrc.js +17 -17
- package/.github/workflows/ci-test.yml +1 -1
- package/README.md +1 -1
- package/babel.config.js +1 -0
- package/dist/interp2.wk.umd.js +1 -1
- package/dist/w-gis.umd.js +2 -2
- package/dist/w-gis.umd.js.map +1 -1
- package/docs/-_class.mjs.html +5 -2
- package/docs/bufferMultiPolygon.mjs.html +5 -2
- package/docs/convertCoordinate.mjs.html +5 -2
- package/docs/examples/ex-convertCoordinate.html +1 -1
- package/docs/examples/ex-getCenterOfMassMultiPolygon.html +1 -1
- package/docs/examples/ex-getCentroidMultiPolygon.html +1 -1
- package/docs/fixCloseMultiPolygon.mjs.html +5 -2
- package/docs/fixNoCloseMultiPolygon.mjs.html +5 -2
- package/docs/getAreaMultiPolygon.mjs.html +5 -2
- package/docs/getAreaMultiPolygonSm.mjs.html +5 -2
- package/docs/getAreaPolygon.mjs.html +5 -2
- package/docs/getAreaRingString.mjs.html +5 -2
- package/docs/getBoxPolygon.mjs.html +5 -2
- package/docs/getCenterOfMassMultiPolygon.mjs.html +5 -2
- package/docs/getCentroidMultiPolygon.mjs.html +5 -2
- package/docs/importTurf.mjs.html +5 -2
- package/docs/index.html +5 -2
- package/docs/interp2.mjs.html +5 -2
- package/docs/interp2Kriging.mjs.html +5 -2
- package/docs/interp2NaturalNeighbor.mjs.html +5 -2
- package/docs/normalizeArray.mjs.html +5 -2
- package/docs/ptsXYZtoArr.mjs.html +5 -2
- package/docs/ptsXYtoArr.mjs.html +5 -2
- package/docs/scripts/collapse.js +19 -0
- package/docs/scripts/commonNav.js +28 -0
- package/docs/scripts/search.js +16 -0
- package/docs/styles/jsdoc.css +13 -2
- package/docs/styles/prettify.css +1 -0
- package/docs/toMultiPoint.mjs.html +8 -5
- package/docs/toMultiPolygon.mjs.html +8 -5
- package/docs/toPolygon.mjs.html +8 -5
- package/docs/w-gis.html +350 -287
- package/{g.mjs → g-convertCoordinate.mjs} +8 -9
- package/package.json +5 -5
- package/src/toMultiPoint.mjs +3 -3
- package/src/toMultiPolygon.mjs +3 -3
- package/src/toPolygon.mjs +3 -3
- package/test/convertCoordinate.test.mjs +6 -6
package/.eslintrc.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
'env': {
|
|
3
|
+
'browser': true,
|
|
4
|
+
'es6': true,
|
|
5
|
+
'mocha': true
|
|
6
6
|
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
'extends': ['plugin:vue/base', 'plugin:vue/essential', 'standard'],
|
|
8
|
+
'plugins': [
|
|
9
|
+
'vue'
|
|
10
10
|
],
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
'globals': {
|
|
12
|
+
'Atomics': 'readonly',
|
|
13
|
+
'SharedArrayBuffer': 'readonly'
|
|
14
14
|
},
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
'parser': 'vue-eslint-parser',
|
|
16
|
+
'parserOptions': {
|
|
17
|
+
'parser': '@babel/eslint-parser',
|
|
18
|
+
'ecmaVersion': 2019,
|
|
19
|
+
'sourceType': 'module',
|
|
20
20
|
},
|
|
21
|
-
rules: {
|
|
21
|
+
'rules': {
|
|
22
22
|
'generator-star-spacing': 'off',
|
|
23
23
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
24
24
|
'indent': ['error', 4],
|
|
@@ -51,4 +51,4 @@ module.exports = {
|
|
|
51
51
|
'array-callback-return': 'off',
|
|
52
52
|
'no-unreachable-loop': 'off',
|
|
53
53
|
}
|
|
54
|
-
}
|
|
54
|
+
}
|
package/README.md
CHANGED
package/babel.config.js
CHANGED
|
@@ -7,6 +7,7 @@ module.exports = {
|
|
|
7
7
|
],
|
|
8
8
|
'plugins': [
|
|
9
9
|
'@babel/plugin-transform-runtime',
|
|
10
|
+
'@babel/plugin-syntax-import-assertions',
|
|
10
11
|
'@babel/plugin-proposal-export-default-from',
|
|
11
12
|
'@babel/plugin-proposal-nullish-coalescing-operator',
|
|
12
13
|
'@babel/plugin-proposal-optional-chaining'
|