From d68691de400e8b00c29f7882092ff7dea45121a9 Mon Sep 17 00:00:00 2001 From: seotts Date: Mon, 26 Oct 2020 17:36:15 -0400 Subject: [PATCH] add map key --- src/components/world-map/world-map.jsx | 2 +- src/views/annual-report/annual-report.jsx | 12 ++++++++++ src/views/annual-report/annual-report.scss | 22 ++++++++++++++++++- src/views/annual-report/country-usage.json | 2 +- src/views/annual-report/l10n.json | 2 ++ static/images/annual-report/reach/Map Key.svg | 15 +++++++++++++ 6 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 static/images/annual-report/reach/Map Key.svg diff --git a/src/components/world-map/world-map.jsx b/src/components/world-map/world-map.jsx index c258c0475..b0736e0d1 100644 --- a/src/components/world-map/world-map.jsx +++ b/src/components/world-map/world-map.jsx @@ -74,7 +74,7 @@ const WorldMap = props => ( ); WorldMap.propTypes = { - colorIndex: PropTypes.arrayOf(PropTypes.string), + colorIndex: PropTypes.arrayOf(PropTypes.number), countryData: PropTypes.arrayOf(PropTypes.string), countryNames: PropTypes.arrayOf(PropTypes.string) }; diff --git a/src/views/annual-report/annual-report.jsx b/src/views/annual-report/annual-report.jsx index e73afc83e..e14a350e6 100644 --- a/src/views/annual-report/annual-report.jsx +++ b/src/views/annual-report/annual-report.jsx @@ -807,6 +807,18 @@ class AnnualReport extends React.Component {

+
+
+
0
+ +
+ +
+
+
+ +
+
+ + Map Key + + + + + + + + + + + + \ No newline at end of file