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:
@@ -544,6 +544,11 @@
|
||||
"cultivationRisk": "ریسک کشت"
|
||||
},
|
||||
"legend": "راهنمای رنگها",
|
||||
"legendLevels": {
|
||||
"low": "کم",
|
||||
"medium": "متوسط",
|
||||
"high": "زیاد"
|
||||
},
|
||||
"crops": {
|
||||
"wheat": "گندم",
|
||||
"canola": "کلزا",
|
||||
|
||||
Reference in New Issue
Block a user