Browse Source

water: add a filter for the features defined via const

railway-electrification
parent
commit
9d0fe57eb4
  1. 10
      water.json

10
water.json

@ -122,6 +122,16 @@
"symbol": "pointer" "symbol": "pointer"
} }
}, },
"filter": {
"type": {
"name": "{{ trans('filter:type') }}",
"key": "natural",
"type": "select",
"show_default": "true",
"values": "{% for k, v in const %}<option value=\"{{ k }}\" query=\"nwr[{{ k }}]\">{{ tagTrans(k) }}</option>{% endfor %}",
"sort": "natsort"
}
},
"info": [ "info": [
"<table>", "<table>",
" <tr>", " <tr>",

Loading…
Cancel
Save