@wenle_2523097/agri-map 2.0.3 → 2.0.4
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/README.md +23 -0
- package/dist/index.esm.js +27 -50
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +27 -50
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -648,6 +648,29 @@ interface PathOptions {
|
|
|
648
648
|
}
|
|
649
649
|
```
|
|
650
650
|
|
|
651
|
+
## 更新日志
|
|
652
|
+
|
|
653
|
+
### v2.0.4 (2026-05-19)
|
|
654
|
+
#### 新增
|
|
655
|
+
- **3D 标签功能**:Marker 组件支持 3D 立体字标签,可显示在图标上方
|
|
656
|
+
- **12 种动画效果**:pulse、gradient、scale、flip、flicker、rotate、wobble、bounce、float、neon、rainbow、shadow
|
|
657
|
+
- **标签偏移控制**:支持 X/Y 轴偏移量调整
|
|
658
|
+
|
|
659
|
+
#### 优化
|
|
660
|
+
- **文字宽度动态计算**:根据字符数和字体大小自动计算容器宽度
|
|
661
|
+
- **居中对齐**:图标锚点对准文字中心,精确居中于图标上方
|
|
662
|
+
- **空格宽度处理**:中文字符和空格分别计算宽度,提升估算精度
|
|
663
|
+
|
|
664
|
+
#### 修复
|
|
665
|
+
- 移除 `show` 属性,`label` 存在即代表显示标签
|
|
666
|
+
|
|
667
|
+
### v2.0.3 (2026-05-18)
|
|
668
|
+
#### 新增
|
|
669
|
+
- 新增 3D 标签动画效果(pulse、gradient、scale、flip、flicker、rotate、wobble、bounce、float、neon、rainbow、shadow)
|
|
670
|
+
|
|
671
|
+
### v2.0.2
|
|
672
|
+
- 修复 Road/Irrigation 组件重绘模式下的双道路/渠道显示问题
|
|
673
|
+
|
|
651
674
|
## 开发
|
|
652
675
|
|
|
653
676
|
```bash
|