vis-core 0.30.0-beta.55 → 0.30.0-beta.57
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 +1 -2
- package/dist/index.js +83 -83
- package/dist/index.module.js +101968 -101920
- package/dist/version.d.ts +1 -1
- package/dist/vis/map/MapManager.d.ts +7 -2
- package/dist/vis/map/index.d.ts +1 -0
- package/package.json +2 -2
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "0.30.0-beta.
|
|
1
|
+
declare const _default: "0.30.0-beta.57";
|
|
2
2
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Map from './';
|
|
2
2
|
export interface FixConfig {
|
|
3
|
-
[key:
|
|
3
|
+
[key: `${string}`]: {
|
|
4
4
|
s: string[];
|
|
5
5
|
z: string[];
|
|
6
6
|
};
|
|
@@ -12,6 +12,7 @@ export interface MapManagerConfig {
|
|
|
12
12
|
fixConfig?: FixConfig;
|
|
13
13
|
raycasterPointsThreshold?: number;
|
|
14
14
|
mapPadding?: [number, number, number, number];
|
|
15
|
+
rmTemplateIdentifier?: boolean;
|
|
15
16
|
}
|
|
16
17
|
export interface MapEventHandlers {
|
|
17
18
|
[key: string]: (...args: any[]) => void;
|
|
@@ -33,6 +34,8 @@ export declare class MapManager {
|
|
|
33
34
|
private currentMap;
|
|
34
35
|
private currentZoom;
|
|
35
36
|
private mapPadding;
|
|
37
|
+
private isInitializing;
|
|
38
|
+
private rmTemplateIdentifier;
|
|
36
39
|
private groups;
|
|
37
40
|
private eventHandlers;
|
|
38
41
|
private areaCloseTimer;
|
|
@@ -117,7 +120,9 @@ export declare class MapManager {
|
|
|
117
120
|
* 清除区域关闭定时器(供 PortalModal 调用)
|
|
118
121
|
*/
|
|
119
122
|
clearAreaCloseTimer(): void;
|
|
120
|
-
triggerAreaLeave(
|
|
123
|
+
triggerAreaLeave({ areaName }?: {
|
|
124
|
+
areaName: string;
|
|
125
|
+
}): void;
|
|
121
126
|
/**
|
|
122
127
|
* 销毁所有地图实例
|
|
123
128
|
*/
|
package/dist/vis/map/index.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export interface MapOptions extends BaseOptions {
|
|
|
51
51
|
style?: 'map2Base' | 'map2CityOnMap';
|
|
52
52
|
bottomPlane?: boolean;
|
|
53
53
|
bottomPlaneWater?: boolean;
|
|
54
|
+
geojsonExtensions?: Record<string, GeoJSON | string | number>;
|
|
54
55
|
}
|
|
55
56
|
interface MapCityOptions extends MapOptions {
|
|
56
57
|
cacheCity?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vis-core",
|
|
3
|
-
"version": "0.30.0-beta.
|
|
3
|
+
"version": "0.30.0-beta.57",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "npm run version && PORT=5174 bundler-dev",
|
|
6
6
|
"build:site": "npm run version && PUBLIC_EXCLUDE=true bundler",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"esus-lite": "^0.2.8",
|
|
65
65
|
"events": "^3.3.0",
|
|
66
66
|
"geojson-cn": "^0.2.5",
|
|
67
|
-
"gl-draw": "0.17.0-beta.
|
|
67
|
+
"gl-draw": "0.17.0-beta.39",
|
|
68
68
|
"jsrsasign": "^11.1.0",
|
|
69
69
|
"lodash-es": "^4.17.21"
|
|
70
70
|
},
|