vis-core 0.31.8 → 0.31.9
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 +12 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -555,6 +555,7 @@ export declare interface FixConfig {
|
|
|
555
555
|
t?: string[];
|
|
556
556
|
b?: string[];
|
|
557
557
|
l?: string[];
|
|
558
|
+
r?: string[];
|
|
558
559
|
};
|
|
559
560
|
}
|
|
560
561
|
|
|
@@ -706,7 +707,7 @@ declare class Map_2 extends Base {
|
|
|
706
707
|
hide(): Promise<void>;
|
|
707
708
|
shadowMapEnabled(): Promise<void>;
|
|
708
709
|
getOptionsDepth(adcode: number): number;
|
|
709
|
-
getDepth(adcode: number
|
|
710
|
+
getDepth(adcode: number): number;
|
|
710
711
|
getReferenceScale(bboxa: number[], bboxb: number[]): number;
|
|
711
712
|
getAdcodeShowLevel(adcode: number, fix?: boolean): string | undefined;
|
|
712
713
|
handleClick(area?: ExtrudePolygonObject): void;
|
|
@@ -892,6 +893,8 @@ export declare class MapManager {
|
|
|
892
893
|
private isInitializing;
|
|
893
894
|
private rmTemplateIdentifier;
|
|
894
895
|
private geojsonExtensions;
|
|
896
|
+
private areaHoverEnabled;
|
|
897
|
+
private showBuildingOnlyWithoutChildren;
|
|
895
898
|
private groups;
|
|
896
899
|
private eventHandlers;
|
|
897
900
|
private areaCloseTimer;
|
|
@@ -918,6 +921,7 @@ export declare class MapManager {
|
|
|
918
921
|
} | undefined;
|
|
919
922
|
static extendsAdcodeAll: (cb: any) => void;
|
|
920
923
|
key: string;
|
|
924
|
+
topAdcode: number;
|
|
921
925
|
constructor(config: MapManagerConfig);
|
|
922
926
|
/**
|
|
923
927
|
* 设置事件处理器
|
|
@@ -938,7 +942,7 @@ export declare class MapManager {
|
|
|
938
942
|
/**
|
|
939
943
|
* 初始化地图
|
|
940
944
|
*/
|
|
941
|
-
|
|
945
|
+
showMap(adcodeArr: number[], fixedAdcode?: boolean): Promise<Map_2 | null | undefined>;
|
|
942
946
|
/**
|
|
943
947
|
* 创建地图实例
|
|
944
948
|
*/
|
|
@@ -993,6 +997,9 @@ export declare interface MapManagerConfig {
|
|
|
993
997
|
rmTemplateIdentifier?: boolean;
|
|
994
998
|
geojsonExtensions?: Record<string, any[]>;
|
|
995
999
|
mapConfigs?: Record<string, any>;
|
|
1000
|
+
areaHoverEnabled?: boolean;
|
|
1001
|
+
topAdcode?: number;
|
|
1002
|
+
showBuildingOnlyWithoutChildren?: boolean;
|
|
996
1003
|
}
|
|
997
1004
|
|
|
998
1005
|
declare interface MapOptions extends BaseOptions {
|
|
@@ -1425,6 +1432,8 @@ declare interface SwitchFixConfig {
|
|
|
1425
1432
|
b?: string[];
|
|
1426
1433
|
/** 灯光按缩放比调整 */
|
|
1427
1434
|
l?: string[];
|
|
1435
|
+
/** 删除对象 */
|
|
1436
|
+
r?: string[];
|
|
1428
1437
|
}
|
|
1429
1438
|
|
|
1430
1439
|
declare class Target extends GroupObject {
|
|
@@ -1473,7 +1482,7 @@ export { TWEEN }
|
|
|
1473
1482
|
|
|
1474
1483
|
export { Tween }
|
|
1475
1484
|
|
|
1476
|
-
export declare const VERSION = "0.31.
|
|
1485
|
+
export declare const VERSION = "0.31.9";
|
|
1477
1486
|
|
|
1478
1487
|
export { }
|
|
1479
1488
|
|