Skip to content

Commit

Permalink
legend updates
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez committed Mar 21, 2024
1 parent ab5febd commit bf9022b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const CATEGORIES = [
color: themeColors.blue[400],
},
{
name: 'Plots with defrestation alerts',
name: 'Plots with deforestation alerts',
apiName: 'Suppliers with deforestation alerts',
key: 'sda',
color: '#FFC038',
Expand Down
8 changes: 4 additions & 4 deletions client/src/containers/analysis-eudr/map/layers.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@
"citation": null,
"source": null,
"type": "layer",
"legendConfig": {
"iconClass": "border-navy-400 bg-navy-400/30",
"legend": {
"iconClass": "border-[#ffc038] bg-[#ffc038]/30",
"items": null
}
},
{
"id": "suppliers-plot-of-land",
"title": "Deforestation-free plots",
"description": "Land areas where recent deforestation activities have been detected using near-real-time RADD alerts",
"description": "Land areas with free deforestation monitored using near-real-time RADD alerts",
"content": "Deforestation-free plots are areas verified to be free from recent deforestation, monitored using near-real-time RADD alerts. These alerts, adhering to the EUDR definition and following the WHISP methodology developed by FAO and WRI, provide robust monitoring of deforestation activities, enabling proactive measures to maintain forest integrity and sustainability.",
"citation": null,
"source": null,
"type": "layer",
"legend": {
"iconClass": "border-[#ffc038] bg-[#ffc038]/30",
"iconClass": "border-[#4ab8f3] bg-[#4ab8f3]/30",
"items": null
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const EURDLegend = () => {
description={PDAData.description}
showVisibility
isActive={supplierLayer.active}
legendConfig={PDAData.legend}
changeVisibility={() =>
dispatch(setSupplierLayer({ ...supplierLayer, active: !supplierLayer.active }))
}
Expand Down

0 comments on commit bf9022b

Please sign in to comment.