vis-core 0.31.31 → 0.31.33
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 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -412,6 +412,7 @@ declare class ContinentsBg extends GroupObject {
|
|
|
412
412
|
constructor(options: Options_8);
|
|
413
413
|
create(): Promise<void>;
|
|
414
414
|
getLocationPosition(location: [number, number], name?: string): [number, number, number] | undefined;
|
|
415
|
+
private calculatePosition;
|
|
415
416
|
render(): void;
|
|
416
417
|
rebuildFromScene(): void;
|
|
417
418
|
dispose(): void;
|
|
@@ -683,6 +684,8 @@ declare class Map_2 extends Base {
|
|
|
683
684
|
* @returns 是否在板块内
|
|
684
685
|
*/
|
|
685
686
|
booleanPointInMap(location: [number, number]): boolean;
|
|
687
|
+
private _loadGeojsonFromConfig;
|
|
688
|
+
private _loadBaseGeojson;
|
|
686
689
|
private getGeojson;
|
|
687
690
|
private handleDrillDown;
|
|
688
691
|
saveCamvasState(type: 'userControls' | 'controls', index: number): void;
|
|
@@ -931,6 +934,7 @@ declare interface MapOptions extends BaseOptions {
|
|
|
931
934
|
center?: [number, number];
|
|
932
935
|
parentBg?: boolean | number;
|
|
933
936
|
parentBgDepth?: number;
|
|
937
|
+
worldBgFull?: boolean;
|
|
934
938
|
topSegments?: number;
|
|
935
939
|
continentsBg?: boolean;
|
|
936
940
|
continentsBgDepth?: number;
|
|
@@ -966,6 +970,8 @@ declare interface MapOptions extends BaseOptions {
|
|
|
966
970
|
bottomPlane?: boolean;
|
|
967
971
|
bottomPlaneWater?: boolean;
|
|
968
972
|
geojsonExtensions?: Record<string, GeoJSON_3 | string | number | (GeoJSON_3 | string | number)[]>;
|
|
973
|
+
geojsonMapReplace?: Record<string, GeoJSON_3 | string | number>;
|
|
974
|
+
extrudeLineGeojsonMapReplace?: Record<string, GeoJSON_3 | string | number>;
|
|
969
975
|
shadowMap?: boolean;
|
|
970
976
|
switchFixConfig?: SwitchFixConfig;
|
|
971
977
|
_currentAdcodes?: number[];
|
|
@@ -1380,7 +1386,7 @@ export { TWEEN }
|
|
|
1380
1386
|
|
|
1381
1387
|
export { Tween }
|
|
1382
1388
|
|
|
1383
|
-
export declare const VERSION = "0.31.
|
|
1389
|
+
export declare const VERSION = "0.31.33";
|
|
1384
1390
|
|
|
1385
1391
|
export { }
|
|
1386
1392
|
|