Compare commits

...

3 Commits

  1. 3
      sport.json
  2. 14
      test1.json

3
sport.json

@ -72,8 +72,9 @@
"filter": {
"sport": {
"name": "{{ keyTrans('sport') }}",
"type": "select",
"type": "checkbox",
"show_default": "true",
"op": "has",
"values": "{% set list = [] %}{% for t, v in const %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('sport', t) }}</option>{% endfor %}<option value='other' query='nwr[sport][sport!~\"^({{ list|join('|') }})$\"]'>{{ trans('other') }}</option>"
}
}

14
test1.json

@ -0,0 +1,14 @@
{
"type": "overpass",
"name": {
"en": "filtertest1"
},
"query": {
"14": "way[highway]"
},
"filter": {
"null": {
"name": null
}
}
}
Loading…
Cancel
Save