First usable sidewalks theme

This commit is contained in:
Pieter Vander Vennet 2021-10-22 18:53:07 +02:00
parent 02a1d9696f
commit ff0ee35ec1
19 changed files with 537 additions and 174 deletions

View file

@ -0,0 +1,41 @@
{
"id": "left_right_style",
"description": "Special meta-style which will show one single line, either on the left or on the right depending on the id. This is used in the small popups with left_right roads",
"source": {
"osmTags": {
"or": [
"id=left",
"id=right"
]
}
},
"mapRendering": [
{
"width": 6,
"offset": {
"mappings": [
{
"if": "id=left",
"then": "-5"
},
{
"if": "id=right",
"then": "5"
}
]
},
"color": {
"mappings": [
{
"if": "id=left",
"then": "#00f"
},
{
"if": "id=right",
"then": "#f00"
}
]
}
}
]
}