tg-map-vue3 4.1.8 → 4.2.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +21 -14
  2. package/README.md +1 -1
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # 更新日志
2
2
 
3
+ ## 4.2.x
4
+
5
+ - feat: talks支持编辑覆盖物
6
+ - feat: [Overlay]新增`addTo`方法
7
+ - feat: talks支持切换内置地图类型和暗色模式
8
+
3
9
  ## 4.1.x
4
10
 
5
11
  - ***BREAKING CHANGE***: [AbstractMap]改成接口, 只保留`getCenter`/`panTo`等外部使用的方法
@@ -90,20 +96,21 @@
90
96
  [TgHeatmap]: src/components/extra/TgHeatmap.vue "热力图"
91
97
  [TgStreetViewControl]: src/components/controls/TgStreetViewControl.vue
92
98
  [TgZoomControl]: src/components/controls/TgZoomControl.vue
93
- [Icon]: src/map/map/overlay/icon.ts#L18 "图标"
94
- [SymbolIcon]: src/map/map/overlay/icon.ts#L139 "Svg图标"
99
+ [Icon]: packages/tg-map-core/src/map/map/overlay/icon.ts#L17 "图标"
100
+ [SymbolIcon]: packages/tg-map-core/src/map/map/overlay/icon.ts#L143 "Svg图标"
95
101
  [MarkerLabel]: packages/tg-map-core/src/map/map/overlay/marker-label.ts
96
- [IconSequence]: src/map/map/overlay/icon.ts#L55 "Svg图标序列"
97
- [PlacesService]: src/map/map/extra/places-service.ts "位置服务"
98
- [Autocomplete]: src/map/map/extra/autocomplete.ts "自动完成"
99
- [MapUrls]: src/map/map/extra/map-urls.ts "地图网页"
100
- [SearchBox]: src/map/map/extra/search-box.ts "搜索框"
102
+ [IconSequence]: packages/tg-map-core/src/map/map/overlay/icon.ts#L254 "Svg图标序列"
103
+ [PlacesService]: packages/tg-map-core/src/map/map/extra/places-service.ts "位置服务"
104
+ [Autocomplete]: packages/tg-map-core/src/map/map/extra/autocomplete.ts "自动完成"
105
+ [MapUrls]: packages/tg-map-core/src/map/map/extra/map-urls.ts "地图网页"
106
+ [SearchBox]: packages/tg-map-core/src/map/map/extra/search-box.ts "搜索框"
101
107
  [useTgMapInner]: src/components/map-hooks.ts
102
- [LatLngBounds]: src/map/lat-lng.ts#L157
103
- [LatLng]: src/map/lat-lng.ts#L26
104
- [BaiduShape]: src/map/map/overlay/shape.ts#L32
105
- [MapStyle]: src/map/map/map-options.ts#72
106
- [PolyUtil]: src/utils/maps-utils/poly-util.ts
107
- [SphericalUtil]: src/utils/maps-utils/spherical-util.ts
108
- [AbstractMap]: src/map/map/map.ts#L91
108
+ [LatLngBounds]: packages/tg-map-core/src/map/lat-lng.ts#L355
109
+ [LatLng]: packages/tg-map-core/src/map/lat-lng.ts#L32
110
+ [BaiduShape]: packages/tg-map-core/src/map/map/overlay/shape.ts#L48
111
+ [MapStyle]: packages/tg-map-core/src/map/map/map-options.ts#L97
112
+ [PolyUtil]: packages/tg-map-core/src/utils/maps-utils/poly-util.ts
113
+ [SphericalUtil]: packages/tg-map-core/src/utils/maps-utils/spherical-util.ts
114
+ [AbstractMap]: packages/tg-map-core/src/map/map/map.ts#L92
115
+ [Overlay]: packages/tg-map-core/src/map/map/overlay/overlay.ts
109
116
  [tg-map-core]: packages/tg-map-core/README.md
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # tg-map-vue3
2
2
 
3
- 封装 百度地图, Google地图, Here地图(未完成) 的Vue3组件库
3
+ 封装 百度地图, Google地图, Here地图(未完成), Maptalks 的Vue3组件库
4
4
 
5
5
  ## 使用
6
6
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "tg-map-vue3",
3
- "version": "4.1.8",
3
+ "version": "4.2.1",
4
4
  "author": "ipcjs",
5
- "description": "封装 百度地图, Google地图, Here地图(未完成) 的Vue3组件库",
5
+ "description": "封装 百度地图, Google地图, Here地图(未完成), Maptalks 的Vue3组件库",
6
6
  "keywords": [
7
7
  "vue3",
8
8
  "google-map",
@@ -46,7 +46,7 @@
46
46
  "maptalks": "^1.7.1",
47
47
  "maptalks.markercluster": "0.8.8",
48
48
  "tg-commons": "^1.2.10",
49
- "tg-map-core": "4.1.8"
49
+ "tg-map-core": "4.2.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "vue": "^3.5.16"