Enhance crop zoning features with new API integrations and UI updates

- Added Persian translations for legend levels in fa.json to improve localization.
- Updated CROP_ZONING_APIS.md to include new API endpoints for water need, soil quality, and cultivation risk, enhancing data retrieval capabilities.
- Refactored crop zoning components to support new data structures and improve rendering logic for different layers.
- Enhanced LayerControl and ZoneLegend components to dynamically display information based on the active layer, improving user experience.
- Implemented loading states and error handling in CropZoningWrapper for better data management during asynchronous operations.
This commit is contained in:
2026-02-26 00:37:00 +03:30
parent 3db9a86cbf
commit 5aea10a756
7 changed files with 484 additions and 109 deletions
+5
View File
@@ -544,6 +544,11 @@
"cultivationRisk": "ریسک کشت"
},
"legend": "راهنمای رنگ‌ها",
"legendLevels": {
"low": "کم",
"medium": "متوسط",
"high": "زیاد"
},
"crops": {
"wheat": "گندم",
"canola": "کلزا",