MapComplete/assets/themes/sidewalks/sidewalks.json

91 lines
1.8 KiB
JSON
Raw Normal View History

{
"id": "sidewalks",
"title": {
"en": "Sidewalks"
},
"shortDescription": {
"en": "Sidewalk mapping"
},
"description": {
"en": "Experimental theme"
},
"language": [
"en"
],
"maintainer": "",
"icon": "./assets/svg/bug.svg",
"version": "0",
"startLat": 0,
"startLon": 0,
"startZoom": 1,
"widenFactor": 0.05,
"socialImage": "",
"layers": [
{
"id": "sidewalks",
"name": {
"en": "Sidewalks"
},
"minzoom": 12,
"source": {
"osmTags": "highway=residential"
},
"title": {
"render": {
"en": "Street {name}"
}
},
"description": {
"en": "Layer showing sidewalks of highways"
},
"tagRenderings": [],
"mapRendering": [
{
"color": "#ffffff55",
"width": 8
},
{
"color": {
"render": "#888"
},
"width": {
"render": 6,
"mappings": [
{
"if": {
"or": [
"sidewalk:left=",
"sidewalk:left=no",
"sidewalk:left=separate"
]
},
"then": 0
}
]
},
"offset": -6
},
{
"color": "#888",
"width": {
"render": 6,
"mappings": [
{
"if": {
"or": [
"sidewalk:right=",
"sidewalk:right=no",
"sidewalk:right=separate"
]
},
"then": 0
}
]
},
"offset": 6
}
],
"allowSplit": true
}
]
}