tg-map-vue3 3.9.7 → 3.9.8

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 (28) hide show
  1. package/dist/src/components/TgMap.vue.d.ts +505 -38
  2. package/dist/src/components/TgMapWidget.vue.d.ts +4 -4
  3. package/dist/src/components/controls/TgCustomControl.vue.d.ts +6 -6
  4. package/dist/src/components/controls/TgMapTypeControl.vue.d.ts +13 -13
  5. package/dist/src/components/controls/TgScaleControl.vue.d.ts +9 -9
  6. package/dist/src/components/controls/TgStreetViewControl.vue.d.ts +7 -7
  7. package/dist/src/components/controls/TgZoomControl.vue.d.ts +7 -7
  8. package/dist/src/components/extra/TgHeatmap.vue.d.ts +5 -5
  9. package/dist/src/components/extra/TgMarkerClusterer.vue.d.ts +7 -7
  10. package/dist/src/components/layers/TgTrafficLayer.vue.d.ts +1 -1
  11. package/dist/src/components/map-hooks.d.ts +1 -1
  12. package/dist/src/components/map-mixin.d.ts +1 -1
  13. package/dist/src/components/overlays/TgCircle.vue.d.ts +18 -18
  14. package/dist/src/components/overlays/TgElementOverlay.vue.d.ts +9 -9
  15. package/dist/src/components/overlays/TgInfoBox.vue.d.ts +19 -45
  16. package/dist/src/components/overlays/TgInfoWindow.vue.d.ts +24 -40
  17. package/dist/src/components/overlays/TgLabel.vue.d.ts +7 -7
  18. package/dist/src/components/overlays/TgMarker.vue.d.ts +65 -193
  19. package/dist/src/components/overlays/TgPolygon.vue.d.ts +45 -70
  20. package/dist/src/components/overlays/TgPolyline.vue.d.ts +15 -15
  21. package/dist/src/components/overlays/TgRectangle.vue.d.ts +45 -70
  22. package/dist/src/map/map/overlay/icon.d.ts +13 -13
  23. package/dist/src/utils/mapped-types.d.ts +2 -2
  24. package/dist/tg-map.cjs +7 -7
  25. package/dist/tg-map.cjs.map +1 -1
  26. package/dist/tg-map.js +1610 -1628
  27. package/dist/tg-map.js.map +1 -1
  28. package/package.json +31 -33
@@ -52,19 +52,19 @@ export interface SymbolIcon {
52
52
  */
53
53
  readonly strokeWeight?: number;
54
54
  /**
55
- * baidu地图中Marker的Label的偏移量, 用来保证Label默认对齐到Marker的position
56
- *
57
- * 这个值的取值和如下参数相关, 但计算这个值的公式没找到...故只能运行时读取+手动设置:
58
- * - {@link path}
59
- * - {@link rotation}
60
- * - {@link scale}
61
- * - {@link strokeWeight}
62
- * - {@link anchor}
63
- *
64
- * 详见{@link BaiduLabelOverlay.attachIcon}
65
- *
66
- * TODO: 使用矩阵运行时计算偏移量
67
- */
55
+ * baidu地图中Marker的Label的偏移量, 用来保证Label默认对齐到Marker的position
56
+ *
57
+ * 这个值的取值和如下参数相关, 但计算这个值的公式没找到...故只能运行时读取+手动设置:
58
+ * - {@link path}
59
+ * - {@link rotation}
60
+ * - {@link scale}
61
+ * - {@link strokeWeight}
62
+ * - {@link anchor}
63
+ *
64
+ * 详见{@link BaiduLabelOverlay.attachIcon}
65
+ *
66
+ * TODO: 使用矩阵运行时计算偏移量
67
+ */
68
68
  readonly baiduLabelOffset?: Point;
69
69
  }
70
70
  export declare namespace SymbolIcon {
@@ -16,9 +16,9 @@ export type Constructor<T = {}> = new (...args: any[]) => T;
16
16
  */
17
17
  export type AbstractConstructor<T = {}> = abstract new (...args: any[]) => T;
18
18
  /** 原始类型=>包装类型 */
19
- export type PrimitiveToWrapper<T> = T extends boolean ? Boolean : T extends string ? String : T extends number ? Number : T;
19
+ export type PrimitiveToWrapper<T> = T extends boolean ? boolean : T extends string ? string : T extends number ? number : T;
20
20
  /** 包装类型=>原始类型 */
21
- export type WrapperToPrimitive<T> = T extends Boolean ? boolean : T extends String ? string : T extends Number ? number : T;
21
+ export type WrapperToPrimitive<T> = T extends boolean ? boolean : T extends string ? string : T extends number ? number : T;
22
22
  /**
23
23
  * `vue instanceof VueConstructor`时`vue`并不会自动转换成`VueConstructor`的子类, 用该方法可以实现这种转换
24
24
  */