Browse Source

Added street lamps

master
Robin van der Linde 4 years ago
parent
commit
4c1c49a95c
  1. 5
      street_lighting.json

5
street_lighting.json

@ -6,7 +6,8 @@
"nl": "Straatverlichting" "nl": "Straatverlichting"
}, },
"query": { "query": {
"16": "(way[highway];)"
"16": "(way[highway];)",
"18": "(way[highway];node[highway=street_lamp];)"
}, },
"feature": { "feature": {
"markerSymbol": "", "markerSymbol": "",
@ -14,6 +15,8 @@
"color": [ "color": [
"{% if attribute(tags, 'lit') == \"yes\" %}", "{% if attribute(tags, 'lit') == \"yes\" %}",
"yellow", "yellow",
"{% elseif attribute(tags, 'highway') == \"street_lamp\" %}",
"yellow",
"{% elseif attribute(tags, 'lit') == \"no\" %}", "{% elseif attribute(tags, 'lit') == \"no\" %}",
"black", "black",
"{% else %}", "{% else %}",

Loading…
Cancel
Save