Browse Source

Developable Areas: colors, map key

heritage
parent
commit
16eef2884f
  1. 19
      developable_areas.json

19
developable_areas.json

@ -15,6 +15,25 @@
"{% set key = 'landuse' %}",
"{% set value = tags.landuse %}"
],
"style": {
"color": "{{ const[value] }}"
},
"markerSymbol": "{{ markerPointer({fillColor:const[value]})|raw }}",
"listMarkerSymbol": "{{ markerCircle({fillColor:const[value]})|raw }}",
"description": "{{ tagTrans(key, value) }}"
},
"info": [
"<table>",
"{% for value, color in const %}",
" <tr>",
" <td>{{ markerCircle({fillColor: color})|raw }}</td>",
" <td>{{ tagTrans('landuse', value) }}</td>",
" </tr>",
"{% endfor %}",
"</table>"
],
"const": {
"brownfield": "#c3701f",
"greenfield": "#009800"
}
}
Loading…
Cancel
Save