@besovideo/bvmap-leaflet 0.0.39 → 0.0.41
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/main.js +142 -136
- package/dist/main.js.map +1 -1
- package/dist/types/basemap/config.d.ts +6 -0
- package/dist/types/basemap/index.d.ts +3 -0
- package/package.json +46 -46
|
@@ -7,6 +7,9 @@ declare const glbConfig: {
|
|
|
7
7
|
mapInfoShow: string;
|
|
8
8
|
clusterType: IRenderMarkerCluster<any>["clusterType"];
|
|
9
9
|
playbackNotShowVertex: boolean;
|
|
10
|
+
prefixPath?: {
|
|
11
|
+
offline?: string;
|
|
12
|
+
};
|
|
10
13
|
};
|
|
11
14
|
type ConfigType = typeof glbConfig;
|
|
12
15
|
export declare function setGlobalConfig(config: Partial<ConfigType>): void;
|
|
@@ -16,6 +19,9 @@ export declare function getGlobalConfig(): {
|
|
|
16
19
|
mapInfoShow: string;
|
|
17
20
|
clusterType: IRenderMarkerCluster<any>["clusterType"];
|
|
18
21
|
playbackNotShowVertex: boolean;
|
|
22
|
+
prefixPath?: {
|
|
23
|
+
offline?: string;
|
|
24
|
+
};
|
|
19
25
|
};
|
|
20
26
|
export declare function watchConfigChange<T extends keyof ConfigType>(configItemType: T, handle: (val: ConfigType[T], config: ConfigType, configItemType: T) => void, runNow?: boolean): () => void;
|
|
21
27
|
export declare function getConfigItem<T extends keyof ConfigType>(configItemType: T): [ConfigType[T], ConfigType];
|
|
@@ -19,6 +19,9 @@ export declare function SwichTileType(params: {
|
|
|
19
19
|
mapType: MapType;
|
|
20
20
|
tileType?: TileType;
|
|
21
21
|
custom?: ICustomMapInfo;
|
|
22
|
+
prefixPath?: {
|
|
23
|
+
offline?: string;
|
|
24
|
+
};
|
|
22
25
|
}): void;
|
|
23
26
|
export declare function SetMapBottomLeftShow(info: string): void;
|
|
24
27
|
export declare function SetMapClusterType(clusterType: IRenderMarkerCluster<any>["clusterType"]): void;
|
package/package.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@besovideo/bvmap-leaflet",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "./dist/main.js",
|
|
6
|
-
"types": "./dist/types/main.d.ts",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"dev": "vite --force",
|
|
10
|
-
"build": "vite build"
|
|
11
|
-
},
|
|
12
|
-
"keywords": [],
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"@types/leaflet": "^1.9.12",
|
|
16
|
-
"@types/leaflet-editable": "^1.2.6",
|
|
17
|
-
"@types/leaflet-rotate": "^0.1.4",
|
|
18
|
-
"@types/leaflet.markercluster": "^1.5.4",
|
|
19
|
-
"@types/node": "^22.9.0",
|
|
20
|
-
"@types/proj4": "^2.5.6",
|
|
21
|
-
"@types/proj4leaflet": "^1.0.10",
|
|
22
|
-
"kml": "^0.0.1",
|
|
23
|
-
"togeojson": "^0.16.0",
|
|
24
|
-
"typescript": "^5.5.4",
|
|
25
|
-
"vite": "^5.3.4",
|
|
26
|
-
"vite-plugin-dts": "4.0.0-beta.2"
|
|
27
|
-
},
|
|
28
|
-
"files": [
|
|
29
|
-
"dist"
|
|
30
|
-
],
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"leaflet": "^1.9.4",
|
|
33
|
-
"leaflet-arrowheads": "^1.4.0",
|
|
34
|
-
"leaflet-editable": "^1.3.0",
|
|
35
|
-
"leaflet-rotate": "^0.2.8",
|
|
36
|
-
"leaflet.markercluster": "^1.5.3",
|
|
37
|
-
"proj4": "^2.15.0",
|
|
38
|
-
"proj4leaflet": "^1.0.2"
|
|
39
|
-
},
|
|
40
|
-
"publishConfig": {
|
|
41
|
-
"access": "public"
|
|
42
|
-
},
|
|
43
|
-
"peerDependencies": {
|
|
44
|
-
"@types/leaflet-editable": "^1.2.6"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@besovideo/bvmap-leaflet",
|
|
3
|
+
"version": "0.0.41",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "./dist/main.js",
|
|
6
|
+
"types": "./dist/types/main.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "vite --force",
|
|
10
|
+
"build": "vite build"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [],
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"@types/leaflet": "^1.9.12",
|
|
16
|
+
"@types/leaflet-editable": "^1.2.6",
|
|
17
|
+
"@types/leaflet-rotate": "^0.1.4",
|
|
18
|
+
"@types/leaflet.markercluster": "^1.5.4",
|
|
19
|
+
"@types/node": "^22.9.0",
|
|
20
|
+
"@types/proj4": "^2.5.6",
|
|
21
|
+
"@types/proj4leaflet": "^1.0.10",
|
|
22
|
+
"kml": "^0.0.1",
|
|
23
|
+
"togeojson": "^0.16.0",
|
|
24
|
+
"typescript": "^5.5.4",
|
|
25
|
+
"vite": "^5.3.4",
|
|
26
|
+
"vite-plugin-dts": "4.0.0-beta.2"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist"
|
|
30
|
+
],
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"leaflet": "^1.9.4",
|
|
33
|
+
"leaflet-arrowheads": "^1.4.0",
|
|
34
|
+
"leaflet-editable": "^1.3.0",
|
|
35
|
+
"leaflet-rotate": "^0.2.8",
|
|
36
|
+
"leaflet.markercluster": "^1.5.3",
|
|
37
|
+
"proj4": "^2.15.0",
|
|
38
|
+
"proj4leaflet": "^1.0.2"
|
|
39
|
+
},
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"access": "public"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@types/leaflet-editable": "^1.2.6"
|
|
45
|
+
}
|
|
46
|
+
}
|