@wenle_2523097/agri-map 2.0.8 → 2.0.9

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.
@@ -56,6 +56,13 @@ export interface PlotData {
56
56
  * @default undefined
57
57
  */
58
58
  selectedPath?: PathOptions | null | false;
59
+ /**
60
+ * 内部字段:记录输入坐标格式
61
+ * @description 用于输出时保持与输入相同的坐标格式
62
+ * - 'lat-lng': 输入是 [lat, lng] 格式
63
+ * - 'lng-lat': 输入是 [lng, lat] 格式
64
+ */
65
+ _coordinateOrder?: 'lat-lng' | 'lng-lat';
59
66
  /** 其他扩展属性 */
60
67
  [key: string]: unknown;
61
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenle_2523097/agri-map",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "农业地图组件库 - 基于 Leaflet + React 的农业专用地图组件",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",