vis-core 0.31.4 → 0.31.6
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 +7 -4
- package/dist/index.js +3 -3
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -255,6 +255,7 @@ declare interface BaseOptions {
|
|
|
255
255
|
logarithmicDepthBuffer?: boolean;
|
|
256
256
|
tier?: number;
|
|
257
257
|
observeParentScale?: boolean;
|
|
258
|
+
createIfNeeded?: boolean;
|
|
258
259
|
[key: string]: any;
|
|
259
260
|
}
|
|
260
261
|
|
|
@@ -667,6 +668,8 @@ declare class Map_2 extends Base {
|
|
|
667
668
|
setOptions(options: MapOptions): void;
|
|
668
669
|
initGroup(): Promise<void>;
|
|
669
670
|
beforeInit(): Promise<void>;
|
|
671
|
+
private clickHandleDrillDownMark;
|
|
672
|
+
private clickOusideBackMark;
|
|
670
673
|
afterInit(): Promise<void>;
|
|
671
674
|
initCityVis(adcode: number, grey?: boolean): Promise<city>;
|
|
672
675
|
initCityOnMap(adcode: number): Promise<void>;
|
|
@@ -742,7 +745,7 @@ declare class Map_2 extends Base {
|
|
|
742
745
|
}): Promise<void>;
|
|
743
746
|
saveCamvasState(type: 'userControls' | 'controls', index: number): void;
|
|
744
747
|
fixNear(adcode: number): void;
|
|
745
|
-
fitTo(obj
|
|
748
|
+
fitTo(obj: BaseObject, { polarAngle, azimuthAngle, referenceAngle, z, handleStart, adcode, enableTransition, }?: {
|
|
746
749
|
adcode?: number;
|
|
747
750
|
polarAngle?: number;
|
|
748
751
|
azimuthAngle?: number;
|
|
@@ -966,8 +969,8 @@ export declare class MapManager {
|
|
|
966
969
|
|
|
967
970
|
export declare interface MapManagerConfig {
|
|
968
971
|
key?: string;
|
|
969
|
-
container:
|
|
970
|
-
controlsContainer?:
|
|
972
|
+
container: HTMLElement;
|
|
973
|
+
controlsContainer?: HTMLElement;
|
|
971
974
|
assetsPrefix?: string;
|
|
972
975
|
fixConfig?: FixConfig;
|
|
973
976
|
raycasterPointsThreshold?: number;
|
|
@@ -1453,7 +1456,7 @@ export { TWEEN }
|
|
|
1453
1456
|
|
|
1454
1457
|
export { Tween }
|
|
1455
1458
|
|
|
1456
|
-
export declare const VERSION = "0.31.
|
|
1459
|
+
export declare const VERSION = "0.31.6";
|
|
1457
1460
|
|
|
1458
1461
|
export { }
|
|
1459
1462
|
|