tg-map-vue3 4.1.7 → 4.2.0

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 +22 -14
  2. package/README.md +1 -1
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # 更新日志
2
2
 
3
+ ## 4.2.x
4
+
5
+ - feat: talks支持编辑覆盖物
6
+ - feat: [Overlay]新增`addTo`方法
7
+
3
8
  ## 4.1.x
4
9
 
5
10
  - ***BREAKING CHANGE***: [AbstractMap]改成接口, 只保留`getCenter`/`panTo`等外部使用的方法
@@ -11,6 +16,7 @@
11
16
  - feat: [TgInfoBox]新增`disableAutoPan`选项
12
17
  - feat: [TgZoomControl]新增`showZoomLevel`选项
13
18
  - refactor: [TgMarkerClusterer]的`styles`选项新增`minMarkersLength`属性, 用于支持新的talks地图
19
+ - feat: [MarkerLabel]新增`talksStyle`选项
14
20
 
15
21
  ## 3.9.x
16
22
 
@@ -89,19 +95,21 @@
89
95
  [TgHeatmap]: src/components/extra/TgHeatmap.vue "热力图"
90
96
  [TgStreetViewControl]: src/components/controls/TgStreetViewControl.vue
91
97
  [TgZoomControl]: src/components/controls/TgZoomControl.vue
92
- [Icon]: src/map/map/overlay/icon.ts#L18 "图标"
93
- [SymbolIcon]: src/map/map/overlay/icon.ts#L139 "Svg图标"
94
- [IconSequence]: src/map/map/overlay/icon.ts#L55 "Svg图标序列"
95
- [PlacesService]: src/map/map/extra/places-service.ts "位置服务"
96
- [Autocomplete]: src/map/map/extra/autocomplete.ts "自动完成"
97
- [MapUrls]: src/map/map/extra/map-urls.ts "地图网页"
98
- [SearchBox]: src/map/map/extra/search-box.ts "搜索框"
98
+ [Icon]: packages/tg-map-core/src/map/map/overlay/icon.ts#L17 "图标"
99
+ [SymbolIcon]: packages/tg-map-core/src/map/map/overlay/icon.ts#L143 "Svg图标"
100
+ [MarkerLabel]: packages/tg-map-core/src/map/map/overlay/marker-label.ts
101
+ [IconSequence]: packages/tg-map-core/src/map/map/overlay/icon.ts#L254 "Svg图标序列"
102
+ [PlacesService]: packages/tg-map-core/src/map/map/extra/places-service.ts "位置服务"
103
+ [Autocomplete]: packages/tg-map-core/src/map/map/extra/autocomplete.ts "自动完成"
104
+ [MapUrls]: packages/tg-map-core/src/map/map/extra/map-urls.ts "地图网页"
105
+ [SearchBox]: packages/tg-map-core/src/map/map/extra/search-box.ts "搜索框"
99
106
  [useTgMapInner]: src/components/map-hooks.ts
100
- [LatLngBounds]: src/map/lat-lng.ts#L157
101
- [LatLng]: src/map/lat-lng.ts#L26
102
- [BaiduShape]: src/map/map/overlay/shape.ts#L32
103
- [MapStyle]: src/map/map/map-options.ts#72
104
- [PolyUtil]: src/utils/maps-utils/poly-util.ts
105
- [SphericalUtil]: src/utils/maps-utils/spherical-util.ts
106
- [AbstractMap]: src/map/map/map.ts#L91
107
+ [LatLngBounds]: packages/tg-map-core/src/map/lat-lng.ts#L355
108
+ [LatLng]: packages/tg-map-core/src/map/lat-lng.ts#L32
109
+ [BaiduShape]: packages/tg-map-core/src/map/map/overlay/shape.ts#L48
110
+ [MapStyle]: packages/tg-map-core/src/map/map/map-options.ts#L97
111
+ [PolyUtil]: packages/tg-map-core/src/utils/maps-utils/poly-util.ts
112
+ [SphericalUtil]: packages/tg-map-core/src/utils/maps-utils/spherical-util.ts
113
+ [AbstractMap]: packages/tg-map-core/src/map/map/map.ts#L92
114
+ [Overlay]: packages/tg-map-core/src/map/map/overlay/overlay.ts
107
115
  [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.7",
3
+ "version": "4.2.0",
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.7"
49
+ "tg-map-core": "4.2.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "vue": "^3.5.16"