tg-map-vue3 3.2.1 → 3.2.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.
@@ -29,6 +29,7 @@ export * from '../map/map/overlay/polygon';
29
29
  export * from '../map/map/overlay/polyline';
30
30
  export * from '../map/types';
31
31
  export * from '../utils/arrays';
32
+ export * from '../utils/assert';
32
33
  export * from '../utils/mapped-types';
33
34
  export { Objects } from '../utils/objects';
34
35
  export * from '../utils/spherical-utils';
@@ -35,6 +35,11 @@ export interface SymbolIcon {
35
35
  readonly strokeColor?: string;
36
36
  /** @default 1, 显示stroke */
37
37
  readonly strokeOpacity?: number;
38
+ /**
39
+ * 默认等于{@link scale}
40
+ * - google: 可以设为0
41
+ * - baidu: 不能设为0, 为0相当于使用默认值
42
+ */
38
43
  readonly strokeWeight?: number;
39
44
  /**
40
45
  * baidu地图中Marker的Label的偏移量, 用来保证Label默认对齐到Marker的position
@@ -47,6 +52,8 @@ export interface SymbolIcon {
47
52
  * - {@link anchor}
48
53
  *
49
54
  * 详见{@link BaiduLabelOverlay.attachIcon}
55
+ *
56
+ * TODO: 使用矩阵运行时计算偏移量
50
57
  */
51
58
  readonly baiduLabelOffset?: Point;
52
59
  }
package/dist/tg-map.js CHANGED
@@ -5448,6 +5448,8 @@ export {
5448
5448
  Ms as TgTrafficLayer,
5449
5449
  _s as TgZoomControl,
5450
5450
  Pe as UnionIcon,
5451
+ se as assert,
5452
+ Ze as assertNever,
5451
5453
  Te as callHook,
5452
5454
  cs as computedSaveOnThis,
5453
5455
  nr as createEmptyVNode,