vis-core 0.31.9 → 0.31.10
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 +9 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
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,7 @@ export declare class MapManager {
|
|
|
887
893
|
private mapInstances;
|
|
888
894
|
private mapDistances;
|
|
889
895
|
private mapConfigs;
|
|
896
|
+
private mapReferenceAngle;
|
|
890
897
|
private currentMap;
|
|
891
898
|
private currentZoom;
|
|
892
899
|
private mapPadding;
|
|
@@ -942,7 +949,7 @@ export declare class MapManager {
|
|
|
942
949
|
/**
|
|
943
950
|
* 初始化地图
|
|
944
951
|
*/
|
|
945
|
-
showMap(adcodeArr: number[], fixedAdcode?: boolean): Promise<Map_2 | null
|
|
952
|
+
showMap(adcodeArr: number[], fixedAdcode?: boolean): Promise<Map_2 | null>;
|
|
946
953
|
/**
|
|
947
954
|
* 创建地图实例
|
|
948
955
|
*/
|
|
@@ -1482,7 +1489,7 @@ export { TWEEN }
|
|
|
1482
1489
|
|
|
1483
1490
|
export { Tween }
|
|
1484
1491
|
|
|
1485
|
-
export declare const VERSION = "0.31.
|
|
1492
|
+
export declare const VERSION = "0.31.10";
|
|
1486
1493
|
|
|
1487
1494
|
export { }
|
|
1488
1495
|
|