@kq_npm/client3d_webgl_vue 4.2.9-beta → 4.3.0
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/comparemap/index.js +21 -2
- package/hawkeye/index.js +27 -12
- package/index.js +60 -19
- package/isolineanalysis/index.js +1 -1
- package/package.json +1 -1
- package/sceneview/index.js +60 -19
package/comparemap/index.js
CHANGED
|
@@ -24,13 +24,21 @@ return /******/ (function() { // webpackBootstrap
|
|
|
24
24
|
class CompareMapViewModel {
|
|
25
25
|
// 三维视图对象
|
|
26
26
|
//三维viewer对象
|
|
27
|
-
constructor(scenceView) {
|
|
27
|
+
constructor(scenceView, options = {}) {
|
|
28
28
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_scenceView", null);
|
|
29
29
|
|
|
30
30
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
31
31
|
|
|
32
32
|
this._scenceView = scenceView;
|
|
33
33
|
this._viewer = scenceView._viewer;
|
|
34
|
+
|
|
35
|
+
if (options.splitLineColor) {
|
|
36
|
+
this._viewer.scene.splitLineColor = Cesium.Color.fromCssColorString(options.splitLineColor);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (options.splitLineWidth) {
|
|
40
|
+
this._viewer.scene.splitLineWidth = options.splitLineWidth;
|
|
41
|
+
}
|
|
34
42
|
} //切换窗口模式
|
|
35
43
|
|
|
36
44
|
|
|
@@ -452,6 +460,13 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
452
460
|
defaultSelectAll: {
|
|
453
461
|
type: Boolean,
|
|
454
462
|
default: true
|
|
463
|
+
},
|
|
464
|
+
splitLineColor: {
|
|
465
|
+
type: String
|
|
466
|
+
},
|
|
467
|
+
splitLineWidth: {
|
|
468
|
+
type: Number,
|
|
469
|
+
default: 2
|
|
455
470
|
}
|
|
456
471
|
},
|
|
457
472
|
emits: ["back"],
|
|
@@ -490,7 +505,11 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
490
505
|
offsetTop.value = props.offsetTop;
|
|
491
506
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
492
507
|
if (scenceView) {
|
|
493
|
-
|
|
508
|
+
let options = {
|
|
509
|
+
splitLineColor: props.splitLineColor,
|
|
510
|
+
splitLineWidth: props.splitLineWidth
|
|
511
|
+
};
|
|
512
|
+
viewModel = new CompareMapViewModel/* default */.Z(scenceView, options);
|
|
494
513
|
}
|
|
495
514
|
});
|
|
496
515
|
}); //切换窗口模式
|
package/hawkeye/index.js
CHANGED
|
@@ -32,17 +32,16 @@ class HawkeyeViewModel {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
init(options) {
|
|
35
|
-
if
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
35
|
+
// if(!options.layers) {
|
|
36
|
+
// let layers = [];
|
|
37
|
+
// options.viewer.imageryLayers._layers.forEach(function (layer) {
|
|
38
|
+
// layers.push(layer);
|
|
39
|
+
// });
|
|
40
|
+
// options.layers = layers;
|
|
41
|
+
// options.layers = new Cesium.Kq3dArcGISMapServerImageryProvider({
|
|
42
|
+
// url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer'
|
|
43
|
+
// });
|
|
44
|
+
// }
|
|
46
45
|
this._overviewMap = new Cesium.Kq3dOverviewMap(options);
|
|
47
46
|
} //显示
|
|
48
47
|
|
|
@@ -54,6 +53,17 @@ class HawkeyeViewModel {
|
|
|
54
53
|
|
|
55
54
|
hide() {
|
|
56
55
|
this._overviewMap.show = false;
|
|
56
|
+
} // 设置图层
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
setLayers(layers) {
|
|
60
|
+
if (Array.isArray(layers)) {
|
|
61
|
+
this._overviewMap._viewer.imageryLayers.removeAll();
|
|
62
|
+
|
|
63
|
+
layers.forEach(layer => {
|
|
64
|
+
this._overviewMap._viewer.imageryLayers.add(layer);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
57
67
|
} //销毁
|
|
58
68
|
|
|
59
69
|
|
|
@@ -273,6 +283,10 @@ const __default__ = {
|
|
|
273
283
|
|
|
274
284
|
function hide() {
|
|
275
285
|
viewModel && viewModel.hide();
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
function setLayers(layers) {
|
|
289
|
+
viewModel && viewModel.setLayers(layers);
|
|
276
290
|
} // 销毁
|
|
277
291
|
|
|
278
292
|
|
|
@@ -281,7 +295,8 @@ const __default__ = {
|
|
|
281
295
|
});
|
|
282
296
|
expose({
|
|
283
297
|
show,
|
|
284
|
-
hide
|
|
298
|
+
hide,
|
|
299
|
+
setLayers
|
|
285
300
|
});
|
|
286
301
|
return (_ctx, _cache) => {
|
|
287
302
|
return null;
|
package/index.js
CHANGED
|
@@ -1144,17 +1144,21 @@ class DrawManager {
|
|
|
1144
1144
|
color: "#ff0000",
|
|
1145
1145
|
opacity: 1.0,
|
|
1146
1146
|
width: 2,
|
|
1147
|
-
dash: false
|
|
1147
|
+
dash: false,
|
|
1148
|
+
clampToGround: true //是否贴地
|
|
1149
|
+
|
|
1148
1150
|
},
|
|
1149
1151
|
polygon: {
|
|
1150
1152
|
color: "#0000ff",
|
|
1151
1153
|
opacity: 0.3,
|
|
1152
1154
|
outline: true,
|
|
1153
1155
|
outlineColor: "#ff0000",
|
|
1154
|
-
outlineWidth:
|
|
1156
|
+
outlineWidth: 2,
|
|
1155
1157
|
outlineDash: false,
|
|
1156
1158
|
fill: true,
|
|
1157
|
-
fillStyle: null
|
|
1159
|
+
fillStyle: null,
|
|
1160
|
+
clampToGround: true //是否贴地
|
|
1161
|
+
|
|
1158
1162
|
}
|
|
1159
1163
|
});
|
|
1160
1164
|
|
|
@@ -1538,6 +1542,7 @@ class DrawManager {
|
|
|
1538
1542
|
entity.polyline = {
|
|
1539
1543
|
positions: entity.polygon.hierarchy._value.positions,
|
|
1540
1544
|
width: style.polygon.outlineWidth,
|
|
1545
|
+
clampToGround: true,
|
|
1541
1546
|
material: style.polygon.outlineDash ? new Cesium.PolylineDashMaterialProperty({
|
|
1542
1547
|
color: style.polygon.outlineColor
|
|
1543
1548
|
}) : style.polygon.outlineColor
|
|
@@ -1559,7 +1564,7 @@ class DrawManager {
|
|
|
1559
1564
|
});
|
|
1560
1565
|
}
|
|
1561
1566
|
|
|
1562
|
-
callFun && callFun(that._viewer);
|
|
1567
|
+
callFun && callFun(that._viewer, geojsonData);
|
|
1563
1568
|
});
|
|
1564
1569
|
} //删除指定绘图分组的所有图形
|
|
1565
1570
|
|
|
@@ -1581,6 +1586,8 @@ class DrawManager {
|
|
|
1581
1586
|
if (index > -1) {
|
|
1582
1587
|
this._layerGroup.splice(index, 1);
|
|
1583
1588
|
}
|
|
1589
|
+
|
|
1590
|
+
if (idCustom === 'draw') this.clear();
|
|
1584
1591
|
}
|
|
1585
1592
|
|
|
1586
1593
|
getGeometry(idCustom) {
|
|
@@ -23910,7 +23917,7 @@ class IsolineAnalysisViewModel {
|
|
|
23910
23917
|
});
|
|
23911
23918
|
} else {
|
|
23912
23919
|
message({
|
|
23913
|
-
message: "
|
|
23920
|
+
message: "请添加地形后分析!",
|
|
23914
23921
|
type: "warning"
|
|
23915
23922
|
});
|
|
23916
23923
|
}
|
|
@@ -32398,13 +32405,21 @@ WeatherEffect.install = (Vue, opts) => {
|
|
|
32398
32405
|
class CompareMapViewModel {
|
|
32399
32406
|
// 三维视图对象
|
|
32400
32407
|
//三维viewer对象
|
|
32401
|
-
constructor(scenceView) {
|
|
32408
|
+
constructor(scenceView, options = {}) {
|
|
32402
32409
|
_defineProperty(this, "_scenceView", null);
|
|
32403
32410
|
|
|
32404
32411
|
_defineProperty(this, "_viewer", null);
|
|
32405
32412
|
|
|
32406
32413
|
this._scenceView = scenceView;
|
|
32407
32414
|
this._viewer = scenceView._viewer;
|
|
32415
|
+
|
|
32416
|
+
if (options.splitLineColor) {
|
|
32417
|
+
this._viewer.scene.splitLineColor = Cesium.Color.fromCssColorString(options.splitLineColor);
|
|
32418
|
+
}
|
|
32419
|
+
|
|
32420
|
+
if (options.splitLineWidth) {
|
|
32421
|
+
this._viewer.scene.splitLineWidth = options.splitLineWidth;
|
|
32422
|
+
}
|
|
32408
32423
|
} //切换窗口模式
|
|
32409
32424
|
|
|
32410
32425
|
|
|
@@ -32666,6 +32681,13 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
32666
32681
|
defaultSelectAll: {
|
|
32667
32682
|
type: Boolean,
|
|
32668
32683
|
default: true
|
|
32684
|
+
},
|
|
32685
|
+
splitLineColor: {
|
|
32686
|
+
type: String
|
|
32687
|
+
},
|
|
32688
|
+
splitLineWidth: {
|
|
32689
|
+
type: Number,
|
|
32690
|
+
default: 2
|
|
32669
32691
|
}
|
|
32670
32692
|
},
|
|
32671
32693
|
emits: ["back"],
|
|
@@ -32704,7 +32726,11 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
32704
32726
|
offsetTop.value = props.offsetTop;
|
|
32705
32727
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
32706
32728
|
if (scenceView) {
|
|
32707
|
-
|
|
32729
|
+
let options = {
|
|
32730
|
+
splitLineColor: props.splitLineColor,
|
|
32731
|
+
splitLineWidth: props.splitLineWidth
|
|
32732
|
+
};
|
|
32733
|
+
viewModel = new CompareMapViewModel(scenceView, options);
|
|
32708
32734
|
}
|
|
32709
32735
|
});
|
|
32710
32736
|
}); //切换窗口模式
|
|
@@ -33420,17 +33446,16 @@ class HawkeyeViewModel {
|
|
|
33420
33446
|
}
|
|
33421
33447
|
|
|
33422
33448
|
init(options) {
|
|
33423
|
-
if
|
|
33424
|
-
|
|
33425
|
-
|
|
33426
|
-
|
|
33427
|
-
|
|
33428
|
-
|
|
33429
|
-
|
|
33430
|
-
|
|
33431
|
-
|
|
33432
|
-
}
|
|
33433
|
-
|
|
33449
|
+
// if(!options.layers) {
|
|
33450
|
+
// let layers = [];
|
|
33451
|
+
// options.viewer.imageryLayers._layers.forEach(function (layer) {
|
|
33452
|
+
// layers.push(layer);
|
|
33453
|
+
// });
|
|
33454
|
+
// options.layers = layers;
|
|
33455
|
+
// options.layers = new Cesium.Kq3dArcGISMapServerImageryProvider({
|
|
33456
|
+
// url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer'
|
|
33457
|
+
// });
|
|
33458
|
+
// }
|
|
33434
33459
|
this._overviewMap = new Cesium.Kq3dOverviewMap(options);
|
|
33435
33460
|
} //显示
|
|
33436
33461
|
|
|
@@ -33442,6 +33467,17 @@ class HawkeyeViewModel {
|
|
|
33442
33467
|
|
|
33443
33468
|
hide() {
|
|
33444
33469
|
this._overviewMap.show = false;
|
|
33470
|
+
} // 设置图层
|
|
33471
|
+
|
|
33472
|
+
|
|
33473
|
+
setLayers(layers) {
|
|
33474
|
+
if (Array.isArray(layers)) {
|
|
33475
|
+
this._overviewMap._viewer.imageryLayers.removeAll();
|
|
33476
|
+
|
|
33477
|
+
layers.forEach(layer => {
|
|
33478
|
+
this._overviewMap._viewer.imageryLayers.add(layer);
|
|
33479
|
+
});
|
|
33480
|
+
}
|
|
33445
33481
|
} //销毁
|
|
33446
33482
|
|
|
33447
33483
|
|
|
@@ -33528,6 +33564,10 @@ const Hawkeyevue_type_script_setup_true_lang_js_default_ = {
|
|
|
33528
33564
|
|
|
33529
33565
|
function hide() {
|
|
33530
33566
|
viewModel && viewModel.hide();
|
|
33567
|
+
}
|
|
33568
|
+
|
|
33569
|
+
function setLayers(layers) {
|
|
33570
|
+
viewModel && viewModel.setLayers(layers);
|
|
33531
33571
|
} // 销毁
|
|
33532
33572
|
|
|
33533
33573
|
|
|
@@ -33536,7 +33576,8 @@ const Hawkeyevue_type_script_setup_true_lang_js_default_ = {
|
|
|
33536
33576
|
});
|
|
33537
33577
|
expose({
|
|
33538
33578
|
show,
|
|
33539
|
-
hide
|
|
33579
|
+
hide,
|
|
33580
|
+
setLayers
|
|
33540
33581
|
});
|
|
33541
33582
|
return (_ctx, _cache) => {
|
|
33542
33583
|
return null;
|
package/isolineanalysis/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.3.0","homepage":"","keywords":["KQGIS","webGL","Vue"],"restrictedVersion":true,"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"1.1.1","echarts":"5.3.0","echarts-stat":"1.2.0","js-cookie":"3.0.1","omit.js":"2.0.2","save":"2.5.0","tinycolor2":"1.4.2","vue-i18n":"9.2.0-beta.36","xlsx":"0.18.5","css-vars-ponyfill":"2.4.8","html2canvas":"1.4.1","xe-utils":"3.5.4"}}
|
package/sceneview/index.js
CHANGED
|
@@ -6854,13 +6854,21 @@ ClientPrint.install = (Vue, opts) => {
|
|
|
6854
6854
|
class CompareMapViewModel {
|
|
6855
6855
|
// 三维视图对象
|
|
6856
6856
|
//三维viewer对象
|
|
6857
|
-
constructor(scenceView) {
|
|
6857
|
+
constructor(scenceView, options = {}) {
|
|
6858
6858
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_scenceView", null);
|
|
6859
6859
|
|
|
6860
6860
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
6861
6861
|
|
|
6862
6862
|
this._scenceView = scenceView;
|
|
6863
6863
|
this._viewer = scenceView._viewer;
|
|
6864
|
+
|
|
6865
|
+
if (options.splitLineColor) {
|
|
6866
|
+
this._viewer.scene.splitLineColor = Cesium.Color.fromCssColorString(options.splitLineColor);
|
|
6867
|
+
}
|
|
6868
|
+
|
|
6869
|
+
if (options.splitLineWidth) {
|
|
6870
|
+
this._viewer.scene.splitLineWidth = options.splitLineWidth;
|
|
6871
|
+
}
|
|
6864
6872
|
} //切换窗口模式
|
|
6865
6873
|
|
|
6866
6874
|
|
|
@@ -7149,6 +7157,13 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7149
7157
|
defaultSelectAll: {
|
|
7150
7158
|
type: Boolean,
|
|
7151
7159
|
default: true
|
|
7160
|
+
},
|
|
7161
|
+
splitLineColor: {
|
|
7162
|
+
type: String
|
|
7163
|
+
},
|
|
7164
|
+
splitLineWidth: {
|
|
7165
|
+
type: Number,
|
|
7166
|
+
default: 2
|
|
7152
7167
|
}
|
|
7153
7168
|
},
|
|
7154
7169
|
emits: ["back"],
|
|
@@ -7187,7 +7202,11 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
7187
7202
|
offsetTop.value = props.offsetTop;
|
|
7188
7203
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
7189
7204
|
if (scenceView) {
|
|
7190
|
-
|
|
7205
|
+
let options = {
|
|
7206
|
+
splitLineColor: props.splitLineColor,
|
|
7207
|
+
splitLineWidth: props.splitLineWidth
|
|
7208
|
+
};
|
|
7209
|
+
viewModel = new CompareMapViewModel/* default */.Z(scenceView, options);
|
|
7191
7210
|
}
|
|
7192
7211
|
});
|
|
7193
7212
|
}); //切换窗口模式
|
|
@@ -12468,17 +12487,16 @@ class HawkeyeViewModel {
|
|
|
12468
12487
|
}
|
|
12469
12488
|
|
|
12470
12489
|
init(options) {
|
|
12471
|
-
if
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
|
|
12475
|
-
|
|
12476
|
-
|
|
12477
|
-
|
|
12478
|
-
|
|
12479
|
-
|
|
12480
|
-
}
|
|
12481
|
-
|
|
12490
|
+
// if(!options.layers) {
|
|
12491
|
+
// let layers = [];
|
|
12492
|
+
// options.viewer.imageryLayers._layers.forEach(function (layer) {
|
|
12493
|
+
// layers.push(layer);
|
|
12494
|
+
// });
|
|
12495
|
+
// options.layers = layers;
|
|
12496
|
+
// options.layers = new Cesium.Kq3dArcGISMapServerImageryProvider({
|
|
12497
|
+
// url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer'
|
|
12498
|
+
// });
|
|
12499
|
+
// }
|
|
12482
12500
|
this._overviewMap = new Cesium.Kq3dOverviewMap(options);
|
|
12483
12501
|
} //显示
|
|
12484
12502
|
|
|
@@ -12490,6 +12508,17 @@ class HawkeyeViewModel {
|
|
|
12490
12508
|
|
|
12491
12509
|
hide() {
|
|
12492
12510
|
this._overviewMap.show = false;
|
|
12511
|
+
} // 设置图层
|
|
12512
|
+
|
|
12513
|
+
|
|
12514
|
+
setLayers(layers) {
|
|
12515
|
+
if (Array.isArray(layers)) {
|
|
12516
|
+
this._overviewMap._viewer.imageryLayers.removeAll();
|
|
12517
|
+
|
|
12518
|
+
layers.forEach(layer => {
|
|
12519
|
+
this._overviewMap._viewer.imageryLayers.add(layer);
|
|
12520
|
+
});
|
|
12521
|
+
}
|
|
12493
12522
|
} //销毁
|
|
12494
12523
|
|
|
12495
12524
|
|
|
@@ -12597,6 +12626,10 @@ const __default__ = {
|
|
|
12597
12626
|
|
|
12598
12627
|
function hide() {
|
|
12599
12628
|
viewModel && viewModel.hide();
|
|
12629
|
+
}
|
|
12630
|
+
|
|
12631
|
+
function setLayers(layers) {
|
|
12632
|
+
viewModel && viewModel.setLayers(layers);
|
|
12600
12633
|
} // 销毁
|
|
12601
12634
|
|
|
12602
12635
|
|
|
@@ -12605,7 +12638,8 @@ const __default__ = {
|
|
|
12605
12638
|
});
|
|
12606
12639
|
expose({
|
|
12607
12640
|
show,
|
|
12608
|
-
hide
|
|
12641
|
+
hide,
|
|
12642
|
+
setLayers
|
|
12609
12643
|
});
|
|
12610
12644
|
return (_ctx, _cache) => {
|
|
12611
12645
|
return null;
|
|
@@ -12883,7 +12917,7 @@ class IsolineAnalysisViewModel {
|
|
|
12883
12917
|
});
|
|
12884
12918
|
} else {
|
|
12885
12919
|
(0,message/* default */.Z)({
|
|
12886
|
-
message: "
|
|
12920
|
+
message: "请添加地形后分析!",
|
|
12887
12921
|
type: "warning"
|
|
12888
12922
|
});
|
|
12889
12923
|
}
|
|
@@ -39000,17 +39034,21 @@ class DrawManager {
|
|
|
39000
39034
|
color: "#ff0000",
|
|
39001
39035
|
opacity: 1.0,
|
|
39002
39036
|
width: 2,
|
|
39003
|
-
dash: false
|
|
39037
|
+
dash: false,
|
|
39038
|
+
clampToGround: true //是否贴地
|
|
39039
|
+
|
|
39004
39040
|
},
|
|
39005
39041
|
polygon: {
|
|
39006
39042
|
color: "#0000ff",
|
|
39007
39043
|
opacity: 0.3,
|
|
39008
39044
|
outline: true,
|
|
39009
39045
|
outlineColor: "#ff0000",
|
|
39010
|
-
outlineWidth:
|
|
39046
|
+
outlineWidth: 2,
|
|
39011
39047
|
outlineDash: false,
|
|
39012
39048
|
fill: true,
|
|
39013
|
-
fillStyle: null
|
|
39049
|
+
fillStyle: null,
|
|
39050
|
+
clampToGround: true //是否贴地
|
|
39051
|
+
|
|
39014
39052
|
}
|
|
39015
39053
|
});
|
|
39016
39054
|
|
|
@@ -39394,6 +39432,7 @@ class DrawManager {
|
|
|
39394
39432
|
entity.polyline = {
|
|
39395
39433
|
positions: entity.polygon.hierarchy._value.positions,
|
|
39396
39434
|
width: style.polygon.outlineWidth,
|
|
39435
|
+
clampToGround: true,
|
|
39397
39436
|
material: style.polygon.outlineDash ? new Cesium.PolylineDashMaterialProperty({
|
|
39398
39437
|
color: style.polygon.outlineColor
|
|
39399
39438
|
}) : style.polygon.outlineColor
|
|
@@ -39415,7 +39454,7 @@ class DrawManager {
|
|
|
39415
39454
|
});
|
|
39416
39455
|
}
|
|
39417
39456
|
|
|
39418
|
-
callFun && callFun(that._viewer);
|
|
39457
|
+
callFun && callFun(that._viewer, geojsonData);
|
|
39419
39458
|
});
|
|
39420
39459
|
} //删除指定绘图分组的所有图形
|
|
39421
39460
|
|
|
@@ -39437,6 +39476,8 @@ class DrawManager {
|
|
|
39437
39476
|
if (index > -1) {
|
|
39438
39477
|
this._layerGroup.splice(index, 1);
|
|
39439
39478
|
}
|
|
39479
|
+
|
|
39480
|
+
if (idCustom === 'draw') this.clear();
|
|
39440
39481
|
}
|
|
39441
39482
|
|
|
39442
39483
|
getGeometry(idCustom) {
|