Port themes to the new format

This commit is contained in:
Pieter Vander Vennet 2021-10-28 00:53:29 +02:00
parent 40a0e7931d
commit 85174461b4
2 changed files with 99 additions and 61 deletions

View file

@ -28,7 +28,13 @@
},
"minzoom": 12,
"source": {
"osmTags": "highway=residential"
"osmTags": {
"or": [
"highway=residential",
"highway=tertiary",
"highway=secondary"
]
}
},
"title": {
"render": {
@ -112,6 +118,15 @@
"color": {
"render": "#888"
},
"dasharray": {
"render": "",
"mappings": [
{
"if": "sidewalk:right=",
"then": "6,6"
}
]
},
"width": {
"render": 6,
"mappings": [
@ -131,6 +146,15 @@
},
{
"color": "#888",
"dasharray": {
"render": "",
"mappings": [
{
"if": "sidewalk:right=",
"then": "6,6"
}
]
},
"width": {
"render": 6,
"mappings": [

View file

@ -57,7 +57,9 @@
},
"name": "Addresses to check",
"minzoom": 14,
"wayHandling": 1,
"mapRendering": [
{
"location": "point",
"icon": {
"render": "./assets/themes/uk_addresses/housenumber_unknown.svg",
"mappings": [
@ -73,7 +75,9 @@
},
"iconSize": {
"render": "40,40,center"
},
}
}
],
"title": {
"render": "Address to be determined"
},
@ -225,6 +229,9 @@
}
}
],
"mapRendering": [
{
"location": "point",
"icon": {
"render": "./assets/themes/uk_addresses/housenumber_ok.svg",
"mappings": [
@ -269,6 +276,8 @@
}
]
}
}
]
},
{
"id": "named_streets",
@ -281,6 +290,9 @@
]
}
},
"mapRendering": [
{
"location": "point",
"color": {
"render": "#ccc"
},
@ -288,6 +300,8 @@
"render": "0"
}
}
]
}
],
"enableShareScreen": false,
"enableMoreQuests": false