cesium_dev_kit 1.0.48 → 1.0.49
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.js +2 -1
- package/dist/index.min.js +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8,6 +8,7 @@ var SuperGif = _interopDefault(require('libgif'));
|
|
|
8
8
|
var turf = require('@turf/turf');
|
|
9
9
|
var dat = require('dat.gui');
|
|
10
10
|
var echarts = _interopDefault(require('echarts'));
|
|
11
|
+
var alternateCesium = require('cesium');
|
|
11
12
|
|
|
12
13
|
// 输入16进制颜色值 转 rgb 的数组值 255
|
|
13
14
|
function colorRgb(inColor) {
|
|
@@ -13609,7 +13610,7 @@ const prototypeExtends = function (viewer, cesiumGlobal) {
|
|
|
13609
13610
|
* @returns
|
|
13610
13611
|
*/
|
|
13611
13612
|
function initCesium({
|
|
13612
|
-
cesiumGlobal,
|
|
13613
|
+
cesiumGlobal = alternateCesium,
|
|
13613
13614
|
containerId,
|
|
13614
13615
|
viewerConfig = {},
|
|
13615
13616
|
extreaConfig = {},
|