deeptwins-engine-3d 0.1.58 → 0.1.59
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/esm/constant.js
CHANGED
|
@@ -405,7 +405,9 @@ export var DEFAULT_VIEWSHED_ANALYSIS_OPTIONS = function DEFAULT_VIEWSHED_ANALYSI
|
|
|
405
405
|
// 默认的底图类型
|
|
406
406
|
export var DEFAULT_BASE_LAYER_TYPE = {
|
|
407
407
|
GAO_DE_IMG: 'gd_img',
|
|
408
|
+
GAO_DE_IMG_ZJ: 'gd_img_zj',
|
|
408
409
|
GAO_DE_VEC: 'gd_vec',
|
|
410
|
+
GAO_DE_VEC_ZJ: 'gd_vec_zj',
|
|
409
411
|
TENCENT_IMG: 'tx_img',
|
|
410
412
|
TENCENT_VEC: 'tx_vec',
|
|
411
413
|
TENCENT_VEC_DARK: 'tx_vec_dark',
|
|
@@ -424,24 +426,39 @@ export var DEFAULT_BASE_LAYER = {
|
|
|
424
426
|
url: 'https://webst02.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}',
|
|
425
427
|
minimumLevel: 1,
|
|
426
428
|
maximumLevel: 18,
|
|
427
|
-
credit: '
|
|
428
|
-
}
|
|
429
|
-
|
|
429
|
+
credit: 'gd_img'
|
|
430
|
+
}]
|
|
431
|
+
},
|
|
432
|
+
gd_img_zj: {
|
|
433
|
+
name: '高德影像注记',
|
|
434
|
+
type: 'raster',
|
|
435
|
+
layers: [{
|
|
436
|
+
url: 'https://webst02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8',
|
|
430
437
|
minimumLevel: 1,
|
|
431
438
|
maximumLevel: 18,
|
|
432
|
-
credit: '
|
|
439
|
+
credit: 'gd_img_zj'
|
|
433
440
|
}]
|
|
434
441
|
},
|
|
435
442
|
gd_vec: {
|
|
436
443
|
name: '高德电子',
|
|
437
444
|
type: 'raster',
|
|
438
445
|
layers: [{
|
|
439
|
-
url: 'https://
|
|
446
|
+
url: 'https://wprd02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=2&style=7',
|
|
440
447
|
minimumLevel: 1,
|
|
441
448
|
maximumLevel: 18,
|
|
442
449
|
credit: 'gd_vec'
|
|
443
450
|
}]
|
|
444
451
|
},
|
|
452
|
+
gd_vec_zj: {
|
|
453
|
+
name: '高德电子+注记',
|
|
454
|
+
type: 'raster',
|
|
455
|
+
layers: [{
|
|
456
|
+
url: 'https://wprd02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=7',
|
|
457
|
+
minimumLevel: 1,
|
|
458
|
+
maximumLevel: 18,
|
|
459
|
+
credit: 'gd_vec_zj'
|
|
460
|
+
}]
|
|
461
|
+
},
|
|
445
462
|
tx_img: {
|
|
446
463
|
name: '腾讯影像',
|
|
447
464
|
type: 'raster',
|
|
@@ -15,7 +15,7 @@ export default class BaseSource {
|
|
|
15
15
|
remove(): void;
|
|
16
16
|
setData(data: any): this | undefined;
|
|
17
17
|
_toDestroy(): void;
|
|
18
|
-
static analysisSourceType(data: any): "
|
|
18
|
+
static analysisSourceType(data: any): "other" | "wkt" | "sourceId" | "sourceInstance" | "geoJson" | "clampedPolygonGrid";
|
|
19
19
|
static wktToGeoJon(wkt: string): any;
|
|
20
20
|
static geoJsonToGeoCartesian3Array(geoJson: any): any[];
|
|
21
21
|
static handleFeaturePoint(feature: any): any;
|
package/dist/esm/index.js
CHANGED
|
@@ -62,11 +62,11 @@ DEEP_TWINS_BASE_URL && (window.CESIUM_BASE_URL = DEEP_TWINS_BASE_URL);
|
|
|
62
62
|
// 全局加载css
|
|
63
63
|
loadCss(Cesium.buildModuleUrl('Widgets/widgets.css'));
|
|
64
64
|
// 打印版本信息
|
|
65
|
-
console.log('DeepTwinsEngine3D Version:', "0.1.
|
|
65
|
+
console.log('DeepTwinsEngine3D Version:', "0.1.59");
|
|
66
66
|
export var DeepTwinsEngine3D = /*#__PURE__*/_createClass(function DeepTwinsEngine3D() {
|
|
67
67
|
_classCallCheck(this, DeepTwinsEngine3D);
|
|
68
68
|
});
|
|
69
|
-
_defineProperty(DeepTwinsEngine3D, "Version", "0.1.
|
|
69
|
+
_defineProperty(DeepTwinsEngine3D, "Version", "0.1.59");
|
|
70
70
|
_defineProperty(DeepTwinsEngine3D, "Map", Map);
|
|
71
71
|
_defineProperty(DeepTwinsEngine3D, "GroundSkyBox", GroundSkyBox);
|
|
72
72
|
_defineProperty(DeepTwinsEngine3D, "RasterLayer", RasterLayer);
|