tg-map-vue3 3.8.5 → 3.8.6

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
@@ -4,6 +4,7 @@
4
4
 
5
5
  - chore: 更新到Vue3.4 & Vite5
6
6
  - fix: 香港地区坐标转换问题
7
+ - perf: 添加`LatLng.fromPartialLiteral`方法
7
8
 
8
9
  ## 3.7.x
9
10
 
@@ -50,6 +50,7 @@ export declare class LatLng {
50
50
  static fromGoogle(latlng: google.maps.LatLng, coord: CoordType): LatLng;
51
51
  static fromHere(point: H.geo.IPoint, coord: CoordType): LatLng;
52
52
  static fromLiteral(latlng: LatLngLiteral): LatLng;
53
+ static fromPartialLiteral(latlng?: Partial<LatLngLiteral>): LatLng;
53
54
  static fromLngLat(lng: number, lat: number, coord?: CoordType): LatLng;
54
55
  static create(lat: number, lng: number, coord?: CoordType): LatLng;
55
56
  constructor(