Nudge location colour scale darker

This commit is contained in:
Tom Russell 2019-01-22 21:46:07 +00:00
parent 3be82bdf11
commit b504b8f5ae
2 changed files with 17 additions and 17 deletions

View File

@ -42,24 +42,24 @@
</Style>
<Style name="location_info_count">
<Rule>
<Filter>[location_info_count] &gt; 0 and [location_info_count] &lt; 2</Filter>
<PolygonSymbolizer fill="#f0f9e8" />
</Rule>
<Rule>
<Filter>[location_info_count] &gt;= 2 and [location_info_count] &lt; 4</Filter>
<PolygonSymbolizer fill="#bae4bc" />
</Rule>
<Rule>
<Filter>[location_info_count] &gt;= 4 and [location_info_count] &lt; 6</Filter>
<PolygonSymbolizer fill="#7bccc4" />
<Filter>[location_info_count] &gt;= 8</Filter>
<PolygonSymbolizer fill="#084081" />
</Rule>
<Rule>
<Filter>[location_info_count] &gt;= 6 and [location_info_count] &lt; 8</Filter>
<PolygonSymbolizer fill="#0868ac" />
</Rule>
<Rule>
<Filter>[location_info_count] &gt;= 4 and [location_info_count] &lt; 6</Filter>
<PolygonSymbolizer fill="#43a2ca" />
</Rule>
<Rule>
<Filter>[location_info_count] &gt;= 8</Filter>
<PolygonSymbolizer fill="#0868ac" />
<Filter>[location_info_count] &gt;= 2 and [location_info_count] &lt; 4</Filter>
<PolygonSymbolizer fill="#7bccc4" />
</Rule>
<Rule>
<Filter>[location_info_count] &gt; 0 and [location_info_count] &lt; 2</Filter>
<PolygonSymbolizer fill="#bae4bc" />
</Rule>
</Style>
<Style name="size_storeys">

View File

@ -8,11 +8,11 @@ const LEGEND_CONFIG = {
title: "Location",
description: "% data collected",
elements: [
{ color: '#0868ac', text: '≥80%' },
{ color: '#43a2ca', text: '6080%' },
{ color: '#7bccc4', text: '4060%' },
{ color: '#bae4bc', text: '2040%' },
{ color: '#f0f9e8', text: '<20%' }
{ color: '#084081', text: '≥80%' },
{ color: '#0868ac', text: '6080%' },
{ color: '#43a2ca', text: '4060%' },
{ color: '#7bccc4', text: '2040%' },
{ color: '#bae4bc', text: '<20%' }
]
},
age: {