deeptwins-engine-3d 0.1.58 → 0.1.60

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.
@@ -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,44 @@ 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: 'gd_img_d'
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?style=6&x={x}&y={y}&z={z}',
437
+ minimumLevel: 1,
438
+ maximumLevel: 18,
439
+ credit: 'gd_img'
428
440
  }, {
429
- url: 'http://webst02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8',
441
+ url: 'https://webst02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scale=1&style=8',
430
442
  minimumLevel: 1,
431
443
  maximumLevel: 18,
432
- credit: 'gd_img_z'
444
+ credit: 'gd_img_zj'
433
445
  }]
434
446
  },
435
447
  gd_vec: {
436
448
  name: '高德电子',
437
449
  type: 'raster',
438
450
  layers: [{
439
- url: 'https://webrd02.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}',
451
+ url: 'https://wprd02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=2&style=7',
440
452
  minimumLevel: 1,
441
453
  maximumLevel: 18,
442
454
  credit: 'gd_vec'
443
455
  }]
444
456
  },
457
+ gd_vec_zj: {
458
+ name: '高德电子+注记',
459
+ type: 'raster',
460
+ layers: [{
461
+ url: 'https://wprd02.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=1&style=7',
462
+ minimumLevel: 1,
463
+ maximumLevel: 18,
464
+ credit: 'gd_vec_zj'
465
+ }]
466
+ },
445
467
  tx_img: {
446
468
  name: '腾讯影像',
447
469
  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): "clampedPolygonGrid" | "wkt" | "sourceId" | "sourceInstance" | "geoJson" | "other";
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.58");
65
+ console.log('DeepTwinsEngine3D Version:', "0.1.60");
66
66
  export var DeepTwinsEngine3D = /*#__PURE__*/_createClass(function DeepTwinsEngine3D() {
67
67
  _classCallCheck(this, DeepTwinsEngine3D);
68
68
  });
69
- _defineProperty(DeepTwinsEngine3D, "Version", "0.1.58");
69
+ _defineProperty(DeepTwinsEngine3D, "Version", "0.1.60");
70
70
  _defineProperty(DeepTwinsEngine3D, "Map", Map);
71
71
  _defineProperty(DeepTwinsEngine3D, "GroundSkyBox", GroundSkyBox);
72
72
  _defineProperty(DeepTwinsEngine3D, "RasterLayer", RasterLayer);