vis-core 0.28.25 → 0.28.27
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/editor/index.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +32 -32
- package/dist/index.module.js +1737 -1708
- package/dist/version.d.ts +1 -1
- package/dist/vis/all/objects/Arc/index.d.ts +1 -1
- package/dist/vis/map/index.d.ts +19 -9
- package/package.json +1 -1
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.28.
|
|
1
|
+
declare const _default: "0.28.27";
|
|
2
2
|
export default _default;
|
package/dist/vis/map/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { BaseObject, Lead } from 'gl-draw';
|
|
2
|
-
import Base, { BaseOptions } from "../base";
|
|
3
|
-
import { getProjection } from 'gl-draw/dist/utils';
|
|
4
|
-
import type { FeatureCollection, Polygon, MultiPolygon } from 'geojson';
|
|
5
|
-
import City from './city';
|
|
6
|
-
import { MeshLineMaterial, Group, ExtrudePolygon, Line } from 'gl-draw/dist/objects';
|
|
7
1
|
import { findAdcodeInfo } from "../all/json";
|
|
8
|
-
import
|
|
2
|
+
import Base, { BaseOptions } from "../base";
|
|
9
3
|
import leadObjs from "./objects";
|
|
10
|
-
import PlaneMap from "./objects/PlaneMap";
|
|
11
4
|
import ContinentsBg from "./objects/ContinentsBg";
|
|
5
|
+
import PlaneMap from "./objects/PlaneMap";
|
|
6
|
+
import type { FeatureCollection, MultiPolygon, Polygon } from 'geojson';
|
|
7
|
+
import { BaseObject, Lead } from 'gl-draw';
|
|
8
|
+
import { ExtrudePolygon, Group, Line, MeshLineMaterial } from 'gl-draw/dist/objects';
|
|
9
|
+
import { getProjection } from 'gl-draw/dist/utils';
|
|
10
|
+
import * as THREE from 'three';
|
|
11
|
+
import City from './city';
|
|
12
12
|
type GeoJSON = FeatureCollection<Polygon | MultiPolygon>;
|
|
13
13
|
export interface MapOptions extends BaseOptions {
|
|
14
14
|
adcode: number;
|
|
@@ -261,11 +261,21 @@ export default class extends Base {
|
|
|
261
261
|
}): Promise<void>;
|
|
262
262
|
handleLookBack(duration?: number): Promise<void>;
|
|
263
263
|
compareLocations(currentO: any[], destinationO: any[]): number[];
|
|
264
|
-
setAdcode({ adcodes, duration }: {
|
|
264
|
+
setAdcode({ adcodes, duration, }: {
|
|
265
265
|
adcodes: number[];
|
|
266
266
|
duration?: number;
|
|
267
267
|
}): Promise<void>;
|
|
268
268
|
setPadding(padding: number[], fitTo?: boolean, enableTransition?: boolean): void;
|
|
269
|
+
findAdcodeInfo(adcode: number): {
|
|
270
|
+
adcode: number;
|
|
271
|
+
lng: number;
|
|
272
|
+
lat: number;
|
|
273
|
+
name: string;
|
|
274
|
+
level: string;
|
|
275
|
+
parent: number;
|
|
276
|
+
c: number[];
|
|
277
|
+
b: number[];
|
|
278
|
+
} | undefined;
|
|
269
279
|
dispose(): void;
|
|
270
280
|
}
|
|
271
281
|
export {};
|