@wenle_2523097/agri-map 2.0.2 → 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.
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @fileoverview 3D 标签组件
3
+ * @description 为 Marker 提供带 3D 立体效果的文字标签
4
+ * @module components/shared/Label3D
5
+ */
6
+ import type { MarkerData, MarkerLabelConfig } from '../../types';
7
+ export interface Label3DProps {
8
+ /** 标签配置 */
9
+ labelConfig?: MarkerLabelConfig;
10
+ /** 标签字段名,默认 'title' */
11
+ labelField?: string;
12
+ /** 显示标签的数据 */
13
+ data: MarkerData[];
14
+ /** 当前选中的 ID(用于高亮) */
15
+ selectedId?: string | number | null;
16
+ }
17
+ /**
18
+ * Label3D - 3D 立体文字标签组件
19
+ * 使用原生 Leaflet SVG 渲染,支持竖排立体字效果
20
+ */
21
+ declare const Label3D: React.FC<Label3DProps>;
22
+ export default Label3D;