Update current use legend

This commit is contained in:
Maciej Ziarkowski 2020-07-16 16:22:30 +02:00
parent e544e54583
commit 6846a03878

View File

@ -20,16 +20,18 @@ const LEGEND_CONFIG = {
use: { use: {
title: 'Land Use', title: 'Land Use',
elements: [ elements: [
{ color: '#4a54a6', text: 'Residential' },
{ color: '#e5050d', text: 'Mixed Use' }, { color: '#e5050d', text: 'Mixed Use' },
{ color: '#ff8c00', text: 'Retail (pure)' }, { subtitle: 'Single use:'},
{ color: '#4a54a6', text: 'Residential' },
{ color: '#ff8c00', text: 'Retail' },
{ color: '#f5f58f', text: 'Industry & Business' }, { color: '#f5f58f', text: 'Industry & Business' },
{ color: '#73ccd1', text: 'Community Services' }, { color: '#73ccd1', text: 'Community Services' },
{ color: '#ffbfbf', text: 'Recreation & Leisure' }, { color: '#ffbfbf', text: 'Recreation & Leisure' },
{ color: '#b3de69', text: 'Transport' }, { color: '#b3de69', text: 'Transport' },
{ color: '#cccccc', text: 'Utilities & Infrastructure' }, { color: '#cccccc', text: 'Utilities & Infrastructure' },
{ color: '#898944', text: 'Defence' }, { color: '#898944', text: 'Defence' },
{ color: '#52403c', text: 'Agriculture'}, { color: '#fa667d', text: 'Agriculture' },
{ color: '#53f5dd', text: 'Minerals' },
{ color: '#ffffff', text: 'Vacant & Derelict' } { color: '#ffffff', text: 'Vacant & Derelict' }
] ]
}, },
@ -231,7 +233,7 @@ class Legend extends React.Component<LegendProps, LegendState> {
<div className="key" style={ { background: item.color, border: item.border } }></div> <div className="key" style={ { background: item.color, border: item.border } }></div>
</td> </td>
<td> <td>
{ item.text } { item.text }
</td> </td>
</tr> </tr>
</li> </li>