vis-core 0.31.9 → 0.31.11

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,6 +90,12 @@ 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;
93
99
  playing: boolean;
94
100
  leftTruck: boolean;
95
101
  options: BaseOptions;
@@ -887,6 +893,8 @@ export declare class MapManager {
887
893
  private mapInstances;
888
894
  private mapDistances;
889
895
  private mapConfigs;
896
+ private mapReferenceAngle;
897
+ private mapBloomConfig;
890
898
  private currentMap;
891
899
  private currentZoom;
892
900
  private mapPadding;
@@ -898,6 +906,10 @@ export declare class MapManager {
898
906
  private groups;
899
907
  private eventHandlers;
900
908
  private areaCloseTimer;
909
+ private key;
910
+ private topAdcode;
911
+ private clickHandleDrillDown;
912
+ private clickOusideBack;
901
913
  static findAdcodeInfoByName: (name: string) => {
902
914
  adcode: number;
903
915
  lng: number;
@@ -920,8 +932,6 @@ export declare class MapManager {
920
932
  b: number[];
921
933
  } | undefined;
922
934
  static extendsAdcodeAll: (cb: any) => void;
923
- key: string;
924
- topAdcode: number;
925
935
  constructor(config: MapManagerConfig);
926
936
  /**
927
937
  * 设置事件处理器
@@ -942,7 +952,7 @@ export declare class MapManager {
942
952
  /**
943
953
  * 初始化地图
944
954
  */
945
- showMap(adcodeArr: number[], fixedAdcode?: boolean): Promise<Map_2 | null | undefined>;
955
+ showMap(adcodeArr: number[], fixedAdcode?: boolean): Promise<Map_2 | null>;
946
956
  /**
947
957
  * 创建地图实例
948
958
  */
@@ -1000,6 +1010,8 @@ export declare interface MapManagerConfig {
1000
1010
  areaHoverEnabled?: boolean;
1001
1011
  topAdcode?: number;
1002
1012
  showBuildingOnlyWithoutChildren?: boolean;
1013
+ clickHandleDrillDown?: boolean;
1014
+ clickOusideBack?: boolean;
1003
1015
  }
1004
1016
 
1005
1017
  declare interface MapOptions extends BaseOptions {
@@ -1482,7 +1494,7 @@ export { TWEEN }
1482
1494
 
1483
1495
  export { Tween }
1484
1496
 
1485
- export declare const VERSION = "0.31.9";
1497
+ export declare const VERSION = "0.31.11";
1486
1498
 
1487
1499
  export { }
1488
1500