vis-core 0.31.21 → 0.31.23

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.d.ts CHANGED
@@ -90,12 +90,6 @@ declare class Area extends GroupObject {
90
90
  export declare class Base extends Camera {
91
91
  static VisName: string;
92
92
  private static _loadingCount;
93
- private static urlCache;
94
- /**
95
- * 清除特定 URL 的缓存
96
- * @param url 要清除的 URL,如果不提供则清除所有缓存
97
- */
98
- static clearUrlCache(url?: string): void;
99
93
  playing: boolean;
100
94
  leftTruck: boolean;
101
95
  options: BaseOptions;
@@ -431,8 +425,7 @@ declare class ContinentsBg extends GroupObject {
431
425
  mapArr: PlaneMap[];
432
426
  constructor(options: Options_12);
433
427
  create(): Promise<void>;
434
- private getPointInContinentInfo;
435
- getLocationPosition(location: [number, number], tName?: string): [number, number, number] | undefined;
428
+ getLocationPosition(location: [number, number], name?: string): [number, number, number] | undefined;
436
429
  render(): void;
437
430
  rebuildFromScene(): void;
438
431
  dispose(): void;
@@ -507,7 +500,11 @@ export declare class Earth extends Base {
507
500
  Line: LineObject;
508
501
  Group: GroupObject;
509
502
  }): Promise<void>;
510
- syncExtendsOptionToScene(name: string, value: any): void;
503
+ private _getChinaPlaneCopy;
504
+ ensureChinaPlaneCopyInScene(): Promise<void>;
505
+ clearChinaPlaneCopyInScene(): void;
506
+ private _syncChinaPlaneCopy;
507
+ syncExtendsOptionToScene(name: string, value: any): Promise<void>;
511
508
  private _syncConicDepth;
512
509
  rebuildFromScene(): Promise<void>;
513
510
  }
@@ -675,6 +672,9 @@ declare class Map_2 extends Base {
675
672
  extendsOptions: Record<string, any>;
676
673
  setOptions(options: MapOptions): void;
677
674
  initGroup(): Promise<void>;
675
+ private _getProjectionCenter;
676
+ private _getProjectionRotate;
677
+ private _getSplitPolygons;
678
678
  beforeInit(): Promise<void>;
679
679
  private clickHandleDrillDownMark;
680
680
  private clickOusideBackMark;
@@ -685,6 +685,11 @@ declare class Map_2 extends Base {
685
685
  initVis(): Promise<void>;
686
686
  loaderAddBg(): void;
687
687
  initMaterialBg(): Promise<void>;
688
+ private _getParentBgMetrics;
689
+ private _clearParentBgInScene;
690
+ private _ensureParentBgInScene;
691
+ private _clearContinentsBgInScene;
692
+ private _ensureContinentsBgInScene;
688
693
  consoleMousePostion(): void;
689
694
  setAreaMaterialByProperty(key: string, value: any, ops: {
690
695
  color?: string;
@@ -714,7 +719,7 @@ declare class Map_2 extends Base {
714
719
  getReferenceScale(bboxa: number[], bboxb: number[]): number;
715
720
  getAdcodeShowLevel(adcode: number, fix?: boolean): string | undefined;
716
721
  private handleClick;
717
- beforeShowMap(adcodes: number[]): boolean;
722
+ beforeShowMap(_adcodes: number[]): boolean;
718
723
  getAdcodes(adcode: number): number[];
719
724
  showMap({ adcode, adcodes: prevAdcodes, duration, }: {
720
725
  adcode?: number;
@@ -802,7 +807,6 @@ declare class Map_2 extends Base {
802
807
  * 根据快照在 PlaneMap 上恢复叠加层
803
808
  */
804
809
  private applyOverlayLayers;
805
- private _templateAdcode;
806
810
  /**
807
811
  * 根据 switchFixConfig 对场景中的对象做位置/缩放修复
808
812
  */
@@ -848,6 +852,7 @@ declare class Map_2 extends Base {
848
852
  syncExtendsOptionToScene(name: string, value: any): Promise<void>;
849
853
  private _syncDepthToLivePlaneMaps;
850
854
  private _syncDepthToLiveParentPlaneMaps;
855
+ private _syncDepthToLiveContinentsBg;
851
856
  private _syncProjectionToLivePlaneMaps;
852
857
  dispose(): void;
853
858
  }
@@ -1140,6 +1145,7 @@ declare interface Options_11 {
1140
1145
  declare interface Options_12 {
1141
1146
  scale: number;
1142
1147
  depth: number;
1148
+ assetsPrefix?: string;
1143
1149
  }
1144
1150
 
1145
1151
  declare interface Options_13 {
@@ -1478,7 +1484,7 @@ export { TWEEN }
1478
1484
 
1479
1485
  export { Tween }
1480
1486
 
1481
- export declare const VERSION = "0.31.21";
1487
+ export declare const VERSION = "0.31.23";
1482
1488
 
1483
1489
  export { }
1484
1490