vis-core 0.31.25 → 0.31.26
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 +3 -35
- package/dist/index.js +4 -4
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -126,6 +126,7 @@ export declare class Base extends Camera {
|
|
|
126
126
|
initCameraUserData(): void;
|
|
127
127
|
initSceneUserData(): void;
|
|
128
128
|
initBaseObjectUserData(baseObject: BaseObject): void;
|
|
129
|
+
private applyMapLabelStyle;
|
|
129
130
|
addCSS3DRenderer(container?: HTMLElement): void;
|
|
130
131
|
initSettingsObj?: Record<string, any>;
|
|
131
132
|
mouseButtonsActiveStore: Record<string, any> | null;
|
|
@@ -413,10 +414,6 @@ export declare class Earth extends Base {
|
|
|
413
414
|
color?: string;
|
|
414
415
|
width?: number;
|
|
415
416
|
} | 'origin'): void;
|
|
416
|
-
addAreaPlaneByProperty(key: string, value: any, options: {
|
|
417
|
-
area: ConstructorParameters<typeof THREE.MeshBasicMaterial>[0];
|
|
418
|
-
line: ConstructorParameters<typeof MeshLineMaterial>[0];
|
|
419
|
-
}): Promise<PlaneMap | undefined>;
|
|
420
417
|
getRadius(): number;
|
|
421
418
|
checkBehindEarth(objArr: () => BaseObject[], cb: (obj: BaseObject[], res: boolean[]) => any): void;
|
|
422
419
|
/**
|
|
@@ -458,8 +455,6 @@ export declare class Earth extends Base {
|
|
|
458
455
|
ensureChinaPlaneCopyInScene(): Promise<void>;
|
|
459
456
|
clearChinaPlaneCopyInScene(): void;
|
|
460
457
|
private _syncChinaPlaneCopy;
|
|
461
|
-
syncExtendsOptionToScene(name: string, value: any): Promise<void>;
|
|
462
|
-
private _syncConicDepth;
|
|
463
458
|
rebuildFromScene(): Promise<void>;
|
|
464
459
|
}
|
|
465
460
|
|
|
@@ -636,16 +631,6 @@ declare class Map_2 extends Base {
|
|
|
636
631
|
color?: string;
|
|
637
632
|
width?: number;
|
|
638
633
|
} | 'origin'): void;
|
|
639
|
-
addAreaPlaneByProperty(key: string, value: any, options: {
|
|
640
|
-
material?: ConstructorParameters<typeof THREE.MeshBasicMaterial>[0];
|
|
641
|
-
lineMaterial?: ConstructorParameters<typeof MeshLineMaterial>[0];
|
|
642
|
-
sideMaterial?: ConstructorParameters<typeof THREE.MeshBasicMaterial>[0];
|
|
643
|
-
depth?: number;
|
|
644
|
-
lineBloom?: boolean;
|
|
645
|
-
topSegments?: number;
|
|
646
|
-
area?: string;
|
|
647
|
-
line?: string;
|
|
648
|
-
}): Promise<PlaneMap | undefined>;
|
|
649
634
|
caId: string | number | undefined;
|
|
650
635
|
showAction(): Promise<void>;
|
|
651
636
|
hide(): Promise<void>;
|
|
@@ -663,6 +648,7 @@ declare class Map_2 extends Base {
|
|
|
663
648
|
duration?: number;
|
|
664
649
|
}): Promise<void>;
|
|
665
650
|
drawLabels(): Promise<void>;
|
|
651
|
+
private labelGroupObject3dUserData;
|
|
666
652
|
eraseLabels(): void;
|
|
667
653
|
geAdcodePosition(adcode: number): [number, number, number] | undefined;
|
|
668
654
|
getLocationPosition(location: [number, number]): [number, number, number];
|
|
@@ -778,24 +764,6 @@ declare class Map_2 extends Base {
|
|
|
778
764
|
Line: LineObject;
|
|
779
765
|
Group: typeof GroupObject;
|
|
780
766
|
}): Promise<void>;
|
|
781
|
-
private _removeLiveExtrudeLines;
|
|
782
|
-
private _initPlaneMapExtrudeLines;
|
|
783
|
-
private _syncExtrudeLineToLivePlaneMaps;
|
|
784
|
-
private _clearCityOnMapInScene;
|
|
785
|
-
private _syncCityOnMapFeaturesToLiveScene;
|
|
786
|
-
private _syncCityOnMapInnerLineToLivePlaneMaps;
|
|
787
|
-
/**
|
|
788
|
-
* Called from Viewport.setExtendsOptions immediately before toJSON().
|
|
789
|
-
* Updates the live PlaneMap / ExtrudePolygon / Line objects' .options so
|
|
790
|
-
* that gl-draw's exportScene() serialises the correct values into
|
|
791
|
-
* _baseObjectOptions. fromJSON will then re-create geometry from those
|
|
792
|
-
* saved options without any extra patching step.
|
|
793
|
-
*/
|
|
794
|
-
syncExtendsOptionToScene(name: string, value: any): Promise<void>;
|
|
795
|
-
private _syncDepthToLivePlaneMaps;
|
|
796
|
-
private _syncDepthToLiveParentPlaneMaps;
|
|
797
|
-
private _syncDepthToLiveContinentsBg;
|
|
798
|
-
private _syncProjectionToLivePlaneMaps;
|
|
799
767
|
dispose(): void;
|
|
800
768
|
}
|
|
801
769
|
export { Map_2 as Map }
|
|
@@ -1396,7 +1364,7 @@ export { TWEEN }
|
|
|
1396
1364
|
|
|
1397
1365
|
export { Tween }
|
|
1398
1366
|
|
|
1399
|
-
export declare const VERSION = "0.31.
|
|
1367
|
+
export declare const VERSION = "0.31.26";
|
|
1400
1368
|
|
|
1401
1369
|
export { }
|
|
1402
1370
|
|