From 5a5ad68e7539bdeff1b3a5a5ba12a30fd444fa8f Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Wed, 5 Dec 2018 20:30:29 +0000 Subject: [PATCH] Like me legend and style --- app/map_styles/polygon.xml | 24 ++++++------------------ app/src/frontend/legend.js | 7 ++++++- 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/app/map_styles/polygon.xml b/app/map_styles/polygon.xml index 59234b38..8d5fb2c6 100644 --- a/app/map_styles/polygon.xml +++ b/app/map_styles/polygon.xml @@ -170,40 +170,28 @@ diff --git a/app/src/frontend/legend.js b/app/src/frontend/legend.js index 2e253fa8..fdbe8d65 100644 --- a/app/src/frontend/legend.js +++ b/app/src/frontend/legend.js @@ -55,7 +55,12 @@ const LEGEND_CONFIG = { like: { title: "Like Me", elements: [ - { color: '#f65400', text: '👍 🎉 +1' }, + { color: "#bd0026", text: '👍👍👍 ≥10' }, + { color: "#e31a1c", text: '👍👍 5–10' }, + { color: "#fc4e2a", text: '👍 4' }, + { color: "#fd8d3c", text: '👍 3' }, + { color: "#feb24c", text: '👍 2' }, + { color: "#fed976", text: '👍 1' }, ] }, use: {