tdt-map-vue2 0.1.1 → 0.1.2

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/CHANGELOG.md CHANGED
@@ -7,3 +7,9 @@
7
7
  ## 0.1.1(2026-01-13)
8
8
 
9
9
  - gcoord插件移动到运行时依赖
10
+
11
+
12
+ ## 0.1.2(2026-01-14)
13
+
14
+ - 导出installMap方法,支持在vue项目中引入加载天地图
15
+
package/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import EnnTMap from './lib/BaseMap.vue'
2
2
  import { setTk } from './lib/utils/config'
3
+ import installMap from './lib/utils/installMap'
3
4
 
4
5
  const installTMap = {
5
6
  install(app,option) {
@@ -8,4 +9,4 @@ const installTMap = {
8
9
  app.component('EnnTMap', EnnTMap)
9
10
  }
10
11
  }
11
- export { installTMap as default, EnnTMap }
12
+ export { installTMap as default, EnnTMap, installMap }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tdt-map-vue2",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "基于天地图封装的组件",
5
5
  "main": "index.js",
6
6
  "scripts": {