{
"id": "slow_roads",
"name": {
"nl": "Trage wegen"
},
"minzoom": 16,
"source": {
"osmTags": {
"or": [
"highway=pedestrian",
"highway=footway",
"highway=path",
"highway=bridleway",
"highway=living_street",
"highway=track"
]
}
},
"title": {
"render": {
"nl": "Trage weg"
},
"mappings": [
{
"if": "name~*",
"then": {
"nl": "{name}"
}
},
{
"if": "highway=footway",
"then": {
"nl": "Voetpad"
}
},
{
"if": "highway=cycleway",
"then": {
"nl": "Fietspad"
}
},
{
"if": "highway=pedestrian",
"then": {
"nl": "Voetgangersstraat"
}
},
{
"if": "highway=living_street",
"then": {
"nl": "Woonerf"
}
},
{"if": "highway=path",
"then": "Klein pad"
}
]
},
"tagRenderings": [
"images",
{
"question": {
"nl": "Wat is de wegverharding van dit pad?"
},
"render": {
"nl": "De ondergrond is {surface}",
"en": "The surface is {surface}"
},
"freeform": {
"key": "surface"
},
"mappings": [
{
"if": "surface=grass",
"then": {
"nl": "De ondergrond is gras",
"en": "The surface is grass"
}
},
{
"if": "surface=ground",
"then": {
"nl": "De ondergrond is aarde",
"en": "The surface is ground"
}
},
{
"if": "surface=unpaved",
"then": {
"nl": "De ondergrond is onverhard",
"en": "The surface is unpaved"
},
"hideInAnswer": true
},
{
"if": "surface=sand",
"then": {
"nl": "De ondergrond is zand",
"en": "The surface is sand"
}
},
{
"if": "surface=paving_stones",
"then": {
"nl": "De ondergrond bestaat uit stoeptegels",
"en": "The surface is paving stones"
}
},
{
"if": "surface=asphalt",
"then": {
"nl": "De ondergrond is asfalt",
"en": "The surface is asphalt"
}
},
{
"if": "surface=concrete",
"then": {
"nl": "De ondergrond is beton",
"en": "The surface is concrete"
}
},
{
"if": "surface=paved",
"then": {
"nl": "De ondergrond is verhard",
"en": "The surface is paved"
},
"hideInAnswer": true
}
]
},
{
"question": "Is deze weg 's nachts verlicht?",
"mappings": [
{
"if": "lit=yes",
"then": "'s nachts verlicht"
},
{
"if": "lit=no",
"then": "Niet verlicht"
}
]
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/svg/bug.svg",
"mappings": []
},
"width": {
"render": "4"
},
"dashArray": "2 10 6 10",
"color": {
"render": "#bb2",
"mappings": [
{
"if": "highway=cycleway",
"then": "#00c"
},
{
"if": "highway=path",
"then": "#bb2"
},
{
"if": "highway=footway",
"then": "#c30"
},
{
"if": "highway=pedestrian",
"then": "#3c3"
},
{
"if": "highway=living_street",
"then": "#ccc"
}
]
},
"presets": [
]
}