Merge branch 'fix/age-colours' into feature/538-planning-update

This commit is contained in:
Maciej Ziarkowski 2020-02-10 18:10:41 +00:00
commit 3bd8ad85ae
2 changed files with 11 additions and 46 deletions

View File

@ -150,55 +150,27 @@
</Rule> </Rule>
<Rule> <Rule>
<Filter>[date_year] &gt;= 1880 and [date_year] &lt; 1900</Filter> <Filter>[date_year] &gt;= 1880 and [date_year] &lt; 1900</Filter>
<PolygonSymbolizer fill="#bb859b" /> <PolygonSymbolizer fill="#961259" />
</Rule> </Rule>
<Rule> <Rule>
<Filter>[date_year] &gt;= 1860 and [date_year] &lt; 1880</Filter> <Filter>[date_year] &gt;= 1860 and [date_year] &lt; 1880</Filter>
<PolygonSymbolizer fill="#8b3654" /> <PolygonSymbolizer fill="#4855a6" />
</Rule> </Rule>
<Rule> <Rule>
<Filter>[date_year] &gt;= 1840 and [date_year] &lt; 1860</Filter> <Filter>[date_year] &gt;= 1840 and [date_year] &lt; 1860</Filter>
<PolygonSymbolizer fill="#8f5385" /> <PolygonSymbolizer fill="#8f5385" />
</Rule> </Rule>
<Rule> <Rule>
<Filter>[date_year] &gt;= 1820 and [date_year] &lt; 1840</Filter> <Filter>[date_year] &gt;= 1800 and [date_year] &lt; 1840</Filter>
<PolygonSymbolizer fill="#56619b" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1800 and [date_year] &lt; 1820</Filter>
<PolygonSymbolizer fill="#6793b2" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1780 and [date_year] &lt; 1800</Filter>
<PolygonSymbolizer fill="#83c3b3" /> <PolygonSymbolizer fill="#83c3b3" />
</Rule> </Rule>
<Rule> <Rule>
<Filter>[date_year] &gt;= 1760 and [date_year] &lt; 1780</Filter> <Filter>[date_year] &gt;= 1700 and [date_year] &lt; 1800</Filter>
<PolygonSymbolizer fill="#adc88f" /> <PolygonSymbolizer fill="#adc88f" />
</Rule> </Rule>
<Rule> <Rule>
<Filter>[date_year] &gt;= 1740 and [date_year] &lt; 1760</Filter> <Filter>[date_year] &lt; 1700</Filter>
<PolygonSymbolizer fill="#83a663" /> <PolygonSymbolizer fill="#ffffff" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1720 and [date_year] &lt; 1740</Filter>
<PolygonSymbolizer fill="#77852d" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1700 and [date_year] &lt; 1720</Filter>
<PolygonSymbolizer fill="#69814e" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1680 and [date_year] &lt; 1700</Filter>
<PolygonSymbolizer fill="#d0c291" />
</Rule>
<Rule>
<Filter>[date_year] &gt;= 1660 and [date_year] &lt; 1680</Filter>
<PolygonSymbolizer fill="#918158" />
</Rule>
<Rule>
<Filter>[date_year] &lt; 1660</Filter>
<PolygonSymbolizer fill="#7a5732" />
</Rule> </Rule>
</Style> </Style>
<Style name="conservation_area"> <Style name="conservation_area">

View File

@ -51,19 +51,12 @@ const LEGEND_CONFIG = {
{ color: '#e6711d', text: '19401960' }, { color: '#e6711d', text: '19401960' },
{ color: '#d73d3a', text: '19201940' }, { color: '#d73d3a', text: '19201940' },
{ color: '#ba221c', text: '19001920' }, { color: '#ba221c', text: '19001920' },
{ color: '#bb859b', text: '18801900' }, { color: '#961259', text: '18801900' },
{ color: '#8b3654', text: '18601880' }, { color: '#4855a6', text: '18601880' },
{ color: '#8f5385', text: '18401860' }, { color: '#8f5385', text: '18401860' },
{ color: '#56619b', text: '18201840' }, { color: '#83c3b3', text: '18001840' },
{ color: '#6793b2', text: '18001820' }, { color: '#adc88f', text: '17001800' },
{ color: '#83c3b3', text: '17801800' }, { color: '#ffffff', text: '<1700' },
{ color: '#adc88f', text: '17601780' },
{ color: '#83a663', text: '17401760' },
{ color: '#77852d', text: '17201740' },
{ color: '#69814e', text: '17001720' },
{ color: '#d0c291', text: '16801700' },
{ color: '#918158', text: '16601680' },
{ color: '#7a5732', text: '<1660' },
] ]
}, },
size: { size: {