From bf9022b524ed7b7ce660565043be84ddfccab511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez?= Date: Thu, 21 Mar 2024 09:59:33 +0100 Subject: [PATCH] legend updates --- .../src/containers/analysis-eudr/category-list/index.tsx | 2 +- client/src/containers/analysis-eudr/map/layers.json | 8 ++++---- .../src/containers/analysis-eudr/map/legend/component.tsx | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/client/src/containers/analysis-eudr/category-list/index.tsx b/client/src/containers/analysis-eudr/category-list/index.tsx index 97b1c8edc..1dd48ddd7 100644 --- a/client/src/containers/analysis-eudr/category-list/index.tsx +++ b/client/src/containers/analysis-eudr/category-list/index.tsx @@ -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', diff --git a/client/src/containers/analysis-eudr/map/layers.json b/client/src/containers/analysis-eudr/map/layers.json index 001cda65b..c0d990822 100644 --- a/client/src/containers/analysis-eudr/map/layers.json +++ b/client/src/containers/analysis-eudr/map/layers.json @@ -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 } }, diff --git a/client/src/containers/analysis-eudr/map/legend/component.tsx b/client/src/containers/analysis-eudr/map/legend/component.tsx index cf65b6db2..fb3bb673a 100644 --- a/client/src/containers/analysis-eudr/map/legend/component.tsx +++ b/client/src/containers/analysis-eudr/map/legend/component.tsx @@ -66,6 +66,7 @@ const EURDLegend = () => { description={PDAData.description} showVisibility isActive={supplierLayer.active} + legendConfig={PDAData.legend} changeVisibility={() => dispatch(setSupplierLayer({ ...supplierLayer, active: !supplierLayer.active })) }