vis-core 0.31.22 → 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 +4 -10
- package/dist/index.js +2 -2
- package/package.json +4 -1
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
|
-
|
|
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;
|
|
@@ -726,7 +719,7 @@ declare class Map_2 extends Base {
|
|
|
726
719
|
getReferenceScale(bboxa: number[], bboxb: number[]): number;
|
|
727
720
|
getAdcodeShowLevel(adcode: number, fix?: boolean): string | undefined;
|
|
728
721
|
private handleClick;
|
|
729
|
-
beforeShowMap(
|
|
722
|
+
beforeShowMap(_adcodes: number[]): boolean;
|
|
730
723
|
getAdcodes(adcode: number): number[];
|
|
731
724
|
showMap({ adcode, adcodes: prevAdcodes, duration, }: {
|
|
732
725
|
adcode?: number;
|
|
@@ -1152,6 +1145,7 @@ declare interface Options_11 {
|
|
|
1152
1145
|
declare interface Options_12 {
|
|
1153
1146
|
scale: number;
|
|
1154
1147
|
depth: number;
|
|
1148
|
+
assetsPrefix?: string;
|
|
1155
1149
|
}
|
|
1156
1150
|
|
|
1157
1151
|
declare interface Options_13 {
|
|
@@ -1490,7 +1484,7 @@ export { TWEEN }
|
|
|
1490
1484
|
|
|
1491
1485
|
export { Tween }
|
|
1492
1486
|
|
|
1493
|
-
export declare const VERSION = "0.31.
|
|
1487
|
+
export declare const VERSION = "0.31.23";
|
|
1494
1488
|
|
|
1495
1489
|
export { }
|
|
1496
1490
|
|