{ "type": "overpass", "name": { "de": "Typ", "en": "Type" }, "query": { "16": [ "(", " way[building];", " relation[building];", ")" ] }, "feature": { "pre": [ "{% if tags.building == 'yes' %}", "{% set color = '#7f7f7f' %}", "{% else %}", "{% set color = '#7f0000' %}", "{% endif %}" ], "description": [ "{{ tagTrans('building', tags.building) }}" ], "markerSymbol": null, "listMarkerSymbol": "{{ markerCircle({fillColor: color})|raw }}", "priority": "{{ (approxHeight|default(0)) * -1 }}", "style": { "width": "1", "color": "#000000", "fillColor": "{{ color }}", "fillOpacity": "1" } }, "info": [ "
", "{{ tagTrans('height') }}", "", " ", " ", " ", " ", "{% for i in range(0, 50, 10) %}", " ", " ", " ", " ", "{% endfor %}", "{% for i in range(100, 250, 50) %}", " ", " ", " ", " ", "{% endfor %}", " ", " ", " ", " ", "
{{ markerCircle({ 'fillColor': '#7f7f7f' })|raw }}{{ trans('unknown') }}
{{ markerCircle({ 'fillColor': colorInterpolate(['green', 'red'], i / 50) })|raw }}{{ i }}m
{{ markerCircle({ 'fillColor': colorInterpolate(['red', 'yellow'], (i - 50) / 250) })|raw }}{{ i }}m
{{ markerCircle({ 'fillColor': 'yellow' })|raw }}≥300m
", "
", "", "
", "{{ tagTrans('building:levels') }}", "", " ", " ", " ", " ", "{% for i in range(0, 12, 3) %}", " ", " ", " ", " ", "{% endfor %}", "{% for i in range(15, 84, 15) %}", " ", " ", " ", " ", "{% endfor %}", " ", " ", " ", " ", "
{{ markerCircle({ 'fillColor': '#7f7f7f' })|raw }}{{ trans('unknown') }}
{{ markerCircle({ 'fillColor': colorInterpolate(['green', 'red'], (i * 3.5) / 50) })|raw }}{{ i }}
{{ markerCircle({ 'fillColor': colorInterpolate(['red', 'yellow'], (i * 3.5 - 50) / 250) })|raw }}{{ i }}
{{ markerCircle({ 'fillColor': 'yellow' })|raw }}≥85
", "", "
" ] }