@aibee/crc-bmap 0.13.5 → 0.13.7

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.
@@ -13,3 +13,4 @@ export * from './position';
13
13
  export * from './use-my-position';
14
14
  export * from './highlight-poi';
15
15
  export * from './sort-by-distance';
16
+ export * from './satellite_tile';
@@ -0,0 +1 @@
1
+ export * from './satellite_tile';
@@ -0,0 +1,13 @@
1
+ import { BMap } from "src/bmap";
2
+ import { Plugin } from "../base";
3
+ import { TileLayer } from "../../layer";
4
+ export interface SatelliteTileConfig {
5
+ base_url: string;
6
+ }
7
+ export declare class SatelliteTile extends Plugin {
8
+ options: SatelliteTileConfig;
9
+ tileLayer: TileLayer;
10
+ constructor(bmap: BMap, config?: SatelliteTileConfig);
11
+ setVisible(visible: boolean): void;
12
+ dispose(): void;
13
+ }
package/package.json CHANGED
@@ -1,92 +1,84 @@
1
- {
2
- "name": "@aibee/crc-bmap",
3
- "version": "0.13.5",
4
- "description": "",
5
- "main": "lib/index.cjs",
6
- "module": "lib/index.esm.min.js",
7
- "types": "lib/src/index.d.ts",
8
- "files": [
9
- "lib"
10
- ],
11
- "exports": {
12
- ".": {
13
- "types": "./lib/src/index.d.ts",
14
- "import": "./lib/index.esm.min.js",
15
- "require": "./lib/index.cjs"
16
- },
17
- "./online": {
18
- "types": "./lib/src/index.d.ts",
19
- "import": "./lib/index.online.esm.min.js",
20
- "require": "./lib/index.cjs"
21
- },
22
- "./offline": {
23
- "types": "./lib/src/index.d.ts",
24
- "import": "./lib/index.esm.min.js",
25
- "require": "./lib/index.cjs"
26
- }
27
- },
28
- "type": "module",
29
- "sideEffects": false,
30
- "scripts": {
31
- "build": "cd ./build && go run src/build/build.go",
32
- "gen-type": "tsc",
33
- "clean": "rm -rf lib",
34
- "lint": "eslint src/**/*.ts",
35
- "start": "cd example && vite dev",
36
- "dev": "cd ./build && go run src/dev/dev.go",
37
- "dev:online": "cd ./build && go run src/dev/dev.go online",
38
- "publish:all": "cd ./build && go run src/publish/publish.go",
39
- "publish:npm": "npm publish --access public --registry https://registry.npmjs.org --@aibee:registry=https://registry.npmjs.org",
40
- "publish:aibee": "npm publish --registry https://npm.aibee.cn --@aibee:registry=https://npm.aibee.cn",
41
- "docs:dev": "cp lib/index.online.min.js docs/public/index.min.js && vitepress dev docs",
42
- "docs:build": "cp lib/index.online.min.js docs/public/index.min.js && vitepress build docs",
43
- "docs:preview": "vitepress preview docs",
44
- "docs:deploy": "cd docs && sh build.sh",
45
- "example:deploy": "cd example && sh build.sh",
46
- "demo:dev": "cp lib/index.online.min.js demo/public/index.online.min.js && cd demo && pnpm dev",
47
- "demo:build": "cp lib/index.online.min.js demo/public/index.online.min.js && cd demo && pnpm build",
48
- "demo:deploy": "cd demo && sh build.sh"
49
- },
50
- "keywords": [],
51
- "author": "",
52
- "license": "ISC",
53
- "devDependencies": {
54
- "@swc/cli": "^0.5.0",
55
- "@swc/core": "^1.9.2",
56
- "@swc/helpers": "^0.5.15",
57
- "@types/crypto-js": "^4.2.2",
58
- "@types/inquirer": "8.2.4",
59
- "@types/lodash": "^4.14.199",
60
- "@types/node": "^20.8.3",
61
- "@types/node-dijkstra": "^2.5.6",
62
- "@types/tween.js": "^18.6.1",
63
- "esbuild": "^0.25.3",
64
- "esbuild-plugin-inline-worker": "^0.1.1",
65
- "eslint": "^8.51.0",
66
- "eslint-plugin-prettier": "^5.0.0",
67
- "inquirer": "8.2.4",
68
- "prettier": "^3.0.3",
69
- "ts-node": "^10.7.0",
70
- "typescript": "^5.2.2",
71
- "vite": "^4.4.11",
72
- "vitepress": "^1.6.3"
73
- },
74
- "dependencies": {
75
- "@mars3d/heatmap.js": "^2.0.7",
76
- "@turf/turf": "^6.5.0",
77
- "@tweenjs/tween.js": "^21.0.0",
78
- "@types/three": "^0.162.0",
79
- "chaikin-smooth": "^1.0.4",
80
- "core-js": "^3.39.0",
81
- "hotkeys-js": "^3.12.0",
82
- "lodash": "^4.17.21",
83
- "meshline": "^3.3.0",
84
- "node-dijkstra": "^2.5.0",
85
- "three": "^0.162.0"
86
- },
87
- "pnpm": {
88
- "patchedDependencies": {
89
- "three@0.162.0": "patches/three@0.162.0.patch"
90
- }
91
- }
92
- }
1
+ {
2
+ "name": "@aibee/crc-bmap",
3
+ "version": "0.13.7",
4
+ "description": "",
5
+ "main": "lib/index.cjs",
6
+ "module": "lib/index.esm.min.js",
7
+ "types": "lib/src/index.d.ts",
8
+ "files": [
9
+ "lib",
10
+ "vite-plugins"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "types": "./lib/src/index.d.ts",
15
+ "import": "./lib/index.esm.min.js",
16
+ "require": "./lib/index.cjs"
17
+ },
18
+ "./online": {
19
+ "types": "./lib/src/index.d.ts",
20
+ "import": "./lib/index.online.esm.min.js",
21
+ "require": "./lib/index.cjs"
22
+ },
23
+ "./offline": {
24
+ "types": "./lib/src/index.d.ts",
25
+ "import": "./lib/index.esm.min.js",
26
+ "require": "./lib/index.cjs"
27
+ }
28
+ },
29
+ "type": "module",
30
+ "sideEffects": false,
31
+ "scripts": {
32
+ "dev": "cd ./build && go run src/dev/dev.go",
33
+ "dev:online": "cd ./build && go run src/dev/dev.go online",
34
+ "build": "cd ./build && go run src/build/build.go",
35
+ "gen-type": "tsc",
36
+ "clean": "rm -rf lib",
37
+ "lint": "eslint src/**/*.ts",
38
+ "publish:all": "cd ./build && go run src/publish/publish.go",
39
+ "publish:npm": "npm publish --access public --registry https://registry.npmjs.org --@aibee:registry=https://registry.npmjs.org",
40
+ "publish:aibee": "npm publish --registry https://npm.aibee.cn --@aibee:registry=https://npm.aibee.cn"
41
+ },
42
+ "keywords": [],
43
+ "author": "",
44
+ "license": "ISC",
45
+ "devDependencies": {
46
+ "@swc/cli": "^0.5.0",
47
+ "@swc/core": "^1.9.2",
48
+ "@swc/helpers": "^0.5.15",
49
+ "@types/crypto-js": "^4.2.2",
50
+ "@types/inquirer": "8.2.4",
51
+ "@types/lodash": "^4.14.199",
52
+ "@types/node": "^20.8.3",
53
+ "@types/node-dijkstra": "^2.5.6",
54
+ "@types/tween.js": "^18.6.1",
55
+ "esbuild": "^0.25.3",
56
+ "esbuild-plugin-inline-worker": "^0.1.1",
57
+ "eslint": "^8.51.0",
58
+ "eslint-plugin-prettier": "^5.0.0",
59
+ "inquirer": "8.2.4",
60
+ "prettier": "^3.0.3",
61
+ "ts-node": "^10.7.0",
62
+ "typescript": "^5.2.2",
63
+ "vite": "^4.4.11",
64
+ "vitepress": "^1.6.3"
65
+ },
66
+ "dependencies": {
67
+ "@mars3d/heatmap.js": "^2.0.7",
68
+ "@turf/turf": "^6.5.0",
69
+ "@tweenjs/tween.js": "^21.0.0",
70
+ "@types/three": "^0.162.0",
71
+ "chaikin-smooth": "^1.0.4",
72
+ "core-js": "^3.39.0",
73
+ "hotkeys-js": "^3.12.0",
74
+ "lodash": "^4.17.21",
75
+ "meshline": "^3.3.0",
76
+ "node-dijkstra": "^2.5.0",
77
+ "three": "^0.162.0"
78
+ },
79
+ "pnpm": {
80
+ "patchedDependencies": {
81
+ "three@0.162.0": "patches/three@0.162.0.patch"
82
+ }
83
+ }
84
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # BMap
2
-
3
- 接口文档地址::[https://map.aibee.cn/crc-bmap/v0/quick-start.html](https://map.aibee.cn/crc-bmap/v0/quick-start.html)