@maptec/maptec-js 1.0.1 → 1.0.3
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/Maptec.esm.js +1 -1
- package/Maptec.js +1 -1
- package/README.md +1 -1
- package/README.npm.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -74,7 +74,7 @@ const map = new Maptec.Map({
|
|
|
74
74
|
## 常见问题
|
|
75
75
|
|
|
76
76
|
- **为什么必须引入 CSS?**:`maptec.css` 包含默认样式(控件、字体等),缺失会导致显示异常。
|
|
77
|
-
- **在浏览器里怎么拿到对象?**:CDN 方式会暴露全局 `Maptec`;打包工具(Vite、webpack 等)使用 `import Maptec from '@maptec/maptec-js'`
|
|
77
|
+
- **在浏览器里怎么拿到对象?**:CDN 方式会暴露全局 `Maptec`;打包工具(Vite、webpack 等)使用 `import Maptec from '@maptec/maptec-js'` 。
|
|
78
78
|
|
|
79
79
|
## License
|
|
80
80
|
|
package/README.npm.md
CHANGED
|
@@ -74,7 +74,7 @@ const map = new Maptec.Map({
|
|
|
74
74
|
## 常见问题
|
|
75
75
|
|
|
76
76
|
- **为什么必须引入 CSS?**:`maptec.css` 包含默认样式(控件、字体等),缺失会导致显示异常。
|
|
77
|
-
- **在浏览器里怎么拿到对象?**:CDN 方式会暴露全局 `Maptec`;打包工具(Vite、webpack 等)使用 `import Maptec from '@maptec/maptec-js'`
|
|
77
|
+
- **在浏览器里怎么拿到对象?**:CDN 方式会暴露全局 `Maptec`;打包工具(Vite、webpack 等)使用 `import Maptec from '@maptec/maptec-js'` 。
|
|
78
78
|
|
|
79
79
|
## License
|
|
80
80
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maptec/maptec-js",
|
|
3
3
|
"description": "Maptec GL JS - 基于WebGL的地图引擎库,用于构建Web地图应用。",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"main": "Maptec.js",
|
|
6
6
|
"module": "Maptec.esm.js",
|
|
7
7
|
"style": "maptec.css",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@mapbox/whoots-js": "^3.1.0",
|
|
36
36
|
"@maptec/mlt": "^1.1.2",
|
|
37
37
|
"@maptec/point-geometry": "^1.1.0",
|
|
38
|
-
"@maptec/vt-pbf": "^4.2.
|
|
38
|
+
"@maptec/vt-pbf": "^4.2.2",
|
|
39
39
|
"@types/geojson": "^7946.0.16",
|
|
40
40
|
"@types/geojson-vt": "3.2.5",
|
|
41
41
|
"@types/supercluster": "^7.1.3",
|