@pggis/pg-sdk 3.2.9 → 3.2.11
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/dist/index.cjs +14767 -13
- package/dist/pggis.min.css +1 -1
- package/dist/pggis.min.js +14789 -35
- package/dist/resources/Assets/approximateTerrainHeights.json +1 -1
- package/dist/resources/ThirdParty/Workers/z-worker-pako.js +1 -1
- package/dist/resources/ThirdParty/draco_decoder.wasm +0 -0
- package/dist/resources/Workers/{chunk-RH4N2ONY.js → chunk-23UFSGND.js} +7 -7
- package/dist/resources/Workers/{chunk-HPP4JLNH.js → chunk-2A75IWRS.js} +7 -7
- package/dist/resources/Workers/{chunk-5IRLXUTA.js → chunk-2FRVPMCS.js} +10 -10
- package/dist/resources/Workers/{chunk-ZQRZBHYI.js → chunk-2FWRMUTY.js} +4 -4
- package/dist/resources/Workers/{chunk-Z2SIPUKB.js → chunk-2UPKWTMJ.js} +6 -6
- package/dist/resources/Workers/{chunk-434ZTTFX.js → chunk-34FXV7D7.js} +2 -2
- package/dist/resources/Workers/{chunk-MW3CJYLX.js → chunk-3VAZEH7M.js} +2 -2
- package/dist/resources/Workers/{chunk-HUPNRBWW.js → chunk-4DO5W5XZ.js} +6 -6
- package/dist/resources/Workers/{chunk-PIXK6KHB.js → chunk-4H7PY4U5.js} +2 -2
- package/dist/resources/Workers/{chunk-BP467WX3.js → chunk-5QULIR53.js} +4 -4
- package/dist/resources/Workers/{chunk-R3HUGXBH.js → chunk-7TC63SJW.js} +8 -8
- package/dist/resources/Workers/{chunk-SQVTYRZY.js → chunk-7ZFGPDJA.js} +4 -4
- package/dist/resources/Workers/{chunk-TIXXVKUY.js → chunk-A5DWLWCY.js} +10 -10
- package/dist/resources/Workers/{chunk-CWJQGBWT.js → chunk-BBWDMCVU.js} +1 -1
- package/dist/resources/Workers/{chunk-4KP73B43.js → chunk-BG4UCVXN.js} +3 -3
- package/dist/resources/Workers/{chunk-Y4OJ4B23.js → chunk-BIKA3NRA.js} +5 -5
- package/dist/resources/Workers/{chunk-DR5XZ6K5.js → chunk-BROJAZRZ.js} +13 -13
- package/dist/resources/Workers/{chunk-FWGNCYP6.js → chunk-DDUQAJ4P.js} +7 -7
- package/dist/resources/Workers/{chunk-QRBRVGZC.js → chunk-EERJKOAF.js} +4 -4
- package/dist/resources/Workers/{chunk-52VSIKEA.js → chunk-EG6PTBY2.js} +15 -15
- package/dist/resources/Workers/{chunk-O43GWBSF.js → chunk-EHWHNOEX.js} +1 -1
- package/dist/resources/Workers/{chunk-MN34FIF5.js → chunk-F3YA3Y2Z.js} +1 -1
- package/dist/resources/Workers/{chunk-GF5TNNKP.js → chunk-F4HFJMGM.js} +6 -6
- package/dist/resources/Workers/{chunk-HOT2SNXP.js → chunk-FJKNFAKQ.js} +133 -553
- package/dist/resources/Workers/{chunk-TMPVBFJQ.js → chunk-FNIRWHJB.js} +10 -10
- package/dist/resources/Workers/{chunk-DMCSY5BU.js → chunk-FZRIVR7Y.js} +5 -5
- package/dist/resources/Workers/{chunk-Z4JUBRHP.js → chunk-G43QFN4Q.js} +6 -6
- package/dist/resources/Workers/{chunk-HPH5HSFE.js → chunk-GATZHF3K.js} +2 -2
- package/dist/resources/Workers/{chunk-CSIZ3BGT.js → chunk-GRC2ZTAF.js} +14 -14
- package/dist/resources/Workers/{chunk-NE4JNU6H.js → chunk-HU6N6EXB.js} +10 -10
- package/dist/resources/Workers/{chunk-GVL5I7TC.js → chunk-I46ZRR5W.js} +17 -17
- package/dist/resources/Workers/{chunk-5GDBZTHX.js → chunk-JURN7NPV.js} +17 -17
- package/dist/resources/Workers/{chunk-H5DUXHCV.js → chunk-KKCR2YOP.js} +11 -11
- package/dist/resources/Workers/{chunk-LX6XV4DK.js → chunk-LPR3YNP2.js} +5 -5
- package/dist/resources/Workers/{chunk-HFKSAB5K.js → chunk-M7ERACJJ.js} +13 -13
- package/dist/resources/Workers/{chunk-BUZDZBUH.js → chunk-MDWEGWPA.js} +10 -10
- package/dist/resources/Workers/{chunk-LGJUI2CE.js → chunk-OGXZVPPM.js} +9 -5
- package/dist/resources/Workers/{chunk-PZ2WJWUG.js → chunk-PGSJK77E.js} +6 -6
- package/dist/resources/Workers/{chunk-ARPTYYKS.js → chunk-PPH7OFP3.js} +5 -5
- package/dist/resources/Workers/{chunk-R4OZKBXH.js → chunk-SH5USDPI.js} +6 -6
- package/dist/resources/Workers/{chunk-SV7DDPAC.js → chunk-SOWMRMWA.js} +1 -1
- package/dist/resources/Workers/{chunk-RIDPF7PO.js → chunk-STW2DGFI.js} +2 -2
- package/dist/resources/Workers/{chunk-CDGHUKQ4.js → chunk-T3XIFPYR.js} +13 -13
- package/dist/resources/Workers/chunk-TTUZP4BO.js +501 -0
- package/dist/resources/Workers/{chunk-QTZQZY2C.js → chunk-UEXTBDBE.js} +34 -10
- package/dist/resources/Workers/{chunk-XUTVA4K5.js → chunk-VOXYEYJT.js} +11 -11
- package/dist/resources/Workers/{chunk-AXFRNOVC.js → chunk-X4356LRH.js} +12 -12
- package/dist/resources/Workers/{chunk-5HLGKKG3.js → chunk-XGI5BXZY.js} +2 -2
- package/dist/resources/Workers/{chunk-SNN7WOC2.js → chunk-Y2ME2IJV.js} +13 -13
- package/dist/resources/Workers/{chunk-LGL4P5KL.js → chunk-Y5UQJLYE.js} +6 -6
- package/dist/resources/Workers/{chunk-3PW6ZBN4.js → chunk-YJEBABKH.js} +7 -7
- package/dist/resources/Workers/{chunk-YBKFS53K.js → chunk-YWTJ2B4B.js} +1 -1
- package/dist/resources/Workers/{chunk-5SK36PU4.js → chunk-Z3TIFFGF.js} +7 -7
- package/dist/resources/Workers/{chunk-JGG36SQV.js → chunk-ZT7KWISZ.js} +4 -4
- package/dist/resources/Workers/combineGeometry.js +24 -23
- package/dist/resources/Workers/createBoxGeometry.js +18 -17
- package/dist/resources/Workers/createBoxOutlineGeometry.js +16 -15
- package/dist/resources/Workers/createCircleGeometry.js +26 -25
- package/dist/resources/Workers/createCircleOutlineGeometry.js +19 -18
- package/dist/resources/Workers/createCoplanarPolygonGeometry.js +33 -32
- package/dist/resources/Workers/createCoplanarPolygonOutlineGeometry.js +31 -30
- package/dist/resources/Workers/createCorridorGeometry.js +29 -29
- package/dist/resources/Workers/createCorridorOutlineGeometry.js +28 -28
- package/dist/resources/Workers/createCylinderGeometry.js +20 -19
- package/dist/resources/Workers/createCylinderOutlineGeometry.js +18 -17
- package/dist/resources/Workers/createEllipseGeometry.js +26 -25
- package/dist/resources/Workers/createEllipseOutlineGeometry.js +19 -18
- package/dist/resources/Workers/createEllipsoidGeometry.js +19 -18
- package/dist/resources/Workers/createEllipsoidOutlineGeometry.js +18 -17
- package/dist/resources/Workers/createFrustumGeometry.js +18 -17
- package/dist/resources/Workers/createFrustumOutlineGeometry.js +18 -17
- package/dist/resources/Workers/createGeometry.js +54 -33
- package/dist/resources/Workers/createGroundPolylineGeometry.js +22 -21
- package/dist/resources/Workers/createPlaneGeometry.js +16 -15
- package/dist/resources/Workers/createPlaneOutlineGeometry.js +15 -14
- package/dist/resources/Workers/createPolygonGeometry.js +32 -166
- package/dist/resources/Workers/createPolygonOutlineGeometry.js +30 -29
- package/dist/resources/Workers/createPolylineGeometry.js +25 -24
- package/dist/resources/Workers/createPolylineVolumeGeometry.js +32 -33
- package/dist/resources/Workers/createPolylineVolumeOutlineGeometry.js +27 -27
- package/dist/resources/Workers/createRectangleGeometry.js +27 -26
- package/dist/resources/Workers/createRectangleOutlineGeometry.js +20 -19
- package/dist/resources/Workers/createSimplePolylineGeometry.js +23 -22
- package/dist/resources/Workers/createSphereGeometry.js +19 -18
- package/dist/resources/Workers/createSphereOutlineGeometry.js +18 -17
- package/dist/resources/Workers/createTaskProcessorWorker.js +3 -3
- package/dist/resources/Workers/createVectorTileClampedPolylines.js +14 -14
- package/dist/resources/Workers/createVectorTileGeometries.js +24 -23
- package/dist/resources/Workers/createVectorTilePoints.js +12 -12
- package/dist/resources/Workers/createVectorTilePolygons.js +22 -21
- package/dist/resources/Workers/createVectorTilePolylines.js +14 -14
- package/dist/resources/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +22 -21
- package/dist/resources/Workers/createVerticesFromHeightmap.js +22 -21
- package/dist/resources/Workers/createVerticesFromQuantizedTerrainMesh.js +19 -18
- package/dist/resources/Workers/createWallGeometry.js +24 -23
- package/dist/resources/Workers/createWallOutlineGeometry.js +23 -22
- package/dist/resources/Workers/decodeDraco.js +11 -11
- package/dist/resources/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
- package/dist/resources/Workers/decodeI3S.js +601 -92
- package/dist/resources/Workers/transcodeKTX2.js +7 -7
- package/dist/resources/Workers/transferTypedArrayTest.js +1 -1
- package/dist/resources/Workers/upsampleQuantizedTerrainMesh.js +22 -21
- package/package.json +5 -10
- package/dist/resources/Workers/chunk-ATB2I7OS.js +0 -55
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.115
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -25,25 +25,25 @@
|
|
|
25
25
|
|
|
26
26
|
import {
|
|
27
27
|
createTaskProcessorWorker_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3VAZEH7M.js";
|
|
29
29
|
import {
|
|
30
30
|
WebGLConstants_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-SOWMRMWA.js";
|
|
32
32
|
import {
|
|
33
33
|
RuntimeError_default
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-STW2DGFI.js";
|
|
35
35
|
import {
|
|
36
36
|
defaultValue_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BBWDMCVU.js";
|
|
38
38
|
import {
|
|
39
39
|
Check_default
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XGI5BXZY.js";
|
|
41
41
|
import {
|
|
42
42
|
__commonJS,
|
|
43
43
|
__require,
|
|
44
44
|
__toESM,
|
|
45
45
|
defined_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-YWTJ2B4B.js";
|
|
47
47
|
|
|
48
48
|
// packages/engine/Source/ThirdParty/Workers/basis_transcoder.js
|
|
49
49
|
var require_basis_transcoder = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.
|
|
4
|
+
* Version 1.115
|
|
5
5
|
*
|
|
6
6
|
* Copyright 2011-2022 Cesium Contributors
|
|
7
7
|
*
|
|
@@ -26,50 +26,51 @@
|
|
|
26
26
|
import {
|
|
27
27
|
EllipsoidalOccluder_default,
|
|
28
28
|
TerrainEncoding_default
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HU6N6EXB.js";
|
|
30
30
|
import {
|
|
31
31
|
createTaskProcessorWorker_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3VAZEH7M.js";
|
|
33
33
|
import {
|
|
34
34
|
OrientedBoundingBox_default
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-A5DWLWCY.js";
|
|
36
36
|
import {
|
|
37
37
|
AttributeCompression_default
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-Z3TIFFGF.js";
|
|
39
|
+
import "./chunk-FNIRWHJB.js";
|
|
40
|
+
import "./chunk-G43QFN4Q.js";
|
|
41
|
+
import "./chunk-2FRVPMCS.js";
|
|
42
|
+
import "./chunk-Y5UQJLYE.js";
|
|
43
43
|
import {
|
|
44
44
|
IndexDatatype_default
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-LPR3YNP2.js";
|
|
46
46
|
import {
|
|
47
47
|
BoundingSphere_default
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-FJKNFAKQ.js";
|
|
49
|
+
import "./chunk-TTUZP4BO.js";
|
|
50
|
+
import "./chunk-BG4UCVXN.js";
|
|
50
51
|
import {
|
|
51
52
|
Rectangle_default
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-YJEBABKH.js";
|
|
54
|
+
import "./chunk-PPH7OFP3.js";
|
|
54
55
|
import {
|
|
55
56
|
Cartesian2_default,
|
|
56
57
|
Cartesian3_default,
|
|
57
58
|
Cartographic_default,
|
|
58
59
|
Ellipsoid_default
|
|
59
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-OGXZVPPM.js";
|
|
60
61
|
import {
|
|
61
62
|
Math_default
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
63
|
+
} from "./chunk-5QULIR53.js";
|
|
64
|
+
import "./chunk-SOWMRMWA.js";
|
|
65
|
+
import "./chunk-STW2DGFI.js";
|
|
66
|
+
import "./chunk-BBWDMCVU.js";
|
|
66
67
|
import {
|
|
67
68
|
Check_default,
|
|
68
69
|
DeveloperError_default
|
|
69
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-XGI5BXZY.js";
|
|
70
71
|
import {
|
|
71
72
|
defined_default
|
|
72
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-YWTJ2B4B.js";
|
|
73
74
|
|
|
74
75
|
// packages/engine/Source/Core/Intersections2D.js
|
|
75
76
|
var Intersections2D = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pggis/pg-sdk",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "PanGu Gis SDK 是基于开源项目 Cesium 进行二次开发的二三维一体的 WebGis 应用框架,该框架优化了部分 Cesium 的使用方式和增添一些通用功能,旨在为开发者快速构建 WebGis 应用。",
|
|
6
6
|
"repository": "https://git.pgio.cn/xulei0857/pg-gis-sdk.git",
|
|
@@ -41,16 +41,13 @@
|
|
|
41
41
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
42
42
|
"@babel/plugin-transform-runtime": "^7.21.4",
|
|
43
43
|
"@babel/preset-env": "^7.21.5",
|
|
44
|
-
"@cesium/engine": "^
|
|
45
|
-
"@rollup/plugin-babel": "^6.0.3",
|
|
46
|
-
"@rollup/plugin-commonjs": "^24.1.0",
|
|
47
|
-
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
48
|
-
"@rollup/plugin-terser": "^0.4.1",
|
|
44
|
+
"@cesium/engine": "^8.0.0",
|
|
49
45
|
"chalk": "^5.2.0",
|
|
50
|
-
"
|
|
51
|
-
"esbuild": "^0.
|
|
46
|
+
"crypto-js": "^4.2.0",
|
|
47
|
+
"esbuild": "^0.20.1",
|
|
52
48
|
"esbuild-plugin-glsl": "^1.2.1",
|
|
53
49
|
"esbuild-plugin-inline-image": "^0.0.9",
|
|
50
|
+
"esbuild-sass-plugin": "^3.1.0",
|
|
54
51
|
"eslint": "^8.40.0",
|
|
55
52
|
"eslint-config-prettier": "^8.8.0",
|
|
56
53
|
"eslint-plugin-import": "^2.27.5",
|
|
@@ -67,8 +64,6 @@
|
|
|
67
64
|
"portfinder": "^1.0.32",
|
|
68
65
|
"prettier": "^2.8.8",
|
|
69
66
|
"rimraf": "^5.0.0",
|
|
70
|
-
"rollup": "^3.21.0",
|
|
71
|
-
"rollup-plugin-scss": "^4.0.0",
|
|
72
67
|
"sass": "^1.62.1",
|
|
73
68
|
"shelljs": "^0.8.5",
|
|
74
69
|
"supercluster": "^8.0.1",
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
-
* Version 1.113
|
|
5
|
-
*
|
|
6
|
-
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
-
*
|
|
8
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
-
* you may not use this file except in compliance with the License.
|
|
10
|
-
* You may obtain a copy of the License at
|
|
11
|
-
*
|
|
12
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
-
*
|
|
14
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
-
* See the License for the specific language governing permissions and
|
|
18
|
-
* limitations under the License.
|
|
19
|
-
*
|
|
20
|
-
* Columbus View (Pat. Pend.)
|
|
21
|
-
*
|
|
22
|
-
* Portions licensed separately.
|
|
23
|
-
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
import {
|
|
27
|
-
defaultValue_default
|
|
28
|
-
} from "./chunk-CWJQGBWT.js";
|
|
29
|
-
import {
|
|
30
|
-
DeveloperError_default
|
|
31
|
-
} from "./chunk-5HLGKKG3.js";
|
|
32
|
-
import {
|
|
33
|
-
defined_default
|
|
34
|
-
} from "./chunk-YBKFS53K.js";
|
|
35
|
-
|
|
36
|
-
// packages/engine/Source/Core/oneTimeWarning.js
|
|
37
|
-
var warnings = {};
|
|
38
|
-
function oneTimeWarning(identifier, message) {
|
|
39
|
-
if (!defined_default(identifier)) {
|
|
40
|
-
throw new DeveloperError_default("identifier is required.");
|
|
41
|
-
}
|
|
42
|
-
if (!defined_default(warnings[identifier])) {
|
|
43
|
-
warnings[identifier] = true;
|
|
44
|
-
console.warn(defaultValue_default(message, identifier));
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
oneTimeWarning.geometryOutlines = "Entity geometry outlines are unsupported on terrain. Outlines will be disabled. To enable outlines, disable geometry terrain clamping by explicitly setting height to 0.";
|
|
48
|
-
oneTimeWarning.geometryZIndex = "Entity geometry with zIndex are unsupported when height or extrudedHeight are defined. zIndex will be ignored";
|
|
49
|
-
oneTimeWarning.geometryHeightReference = "Entity corridor, ellipse, polygon or rectangle with heightReference must also have a defined height. heightReference will be ignored";
|
|
50
|
-
oneTimeWarning.geometryExtrudedHeightReference = "Entity corridor, ellipse, polygon or rectangle with extrudedHeightReference must also have a defined extrudedHeight. extrudedHeightReference will be ignored";
|
|
51
|
-
var oneTimeWarning_default = oneTimeWarning;
|
|
52
|
-
|
|
53
|
-
export {
|
|
54
|
-
oneTimeWarning_default
|
|
55
|
-
};
|