Merge RobinLinde-patch-1

This commit is contained in:
Pieter Vander Vennet 2024-04-23 22:14:09 +02:00
commit 6abe3c7d32
20 changed files with 553 additions and 63 deletions

View file

@ -37,7 +37,9 @@
},
"icon": "./assets/layers/cafe_pub/pub.svg",
"layers": [
"cafe_pub"
"cafe_pub",
"outdoor_seating",
"food_courts"
],
"widenFactor": 1.5
}

View file

@ -155,15 +155,15 @@
"centroid"
],
"label": {
"render": "<div style='position: absolute; top: -30px; right: -10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>?</div>",
"render": "<div class='text-white text-center w-5 h-5 rounded-full' style='background-color: #00a703'>?</div>",
"mappings": [
{
"if": "rcn_ref~*",
"then": "<div style='position: absolute; top: -30px; right: -10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%'>{rcn_ref}</div>"
"then": "<div class='text-white text-center w-5 h-5 rounded-full' style='background-color: #00a703'>{rcn_ref}</div>"
},
{
"if": "proposed:rcn_ref~*",
"then": "<div style='position: absolute; top: -32px; right: -10px; color: white; background-color: #00a703; width: 20px; height: 20px; border-radius: 100%; border-style:dotted; border-color:white; border-width: 2px'>{proposed:rcn_ref}</div>"
"then": "<div class='text-white text-center w-5 h-5 rounded-full border-2 border-white border-dotted' style='background-color: #00a703'>{proposed:rcn_ref}</div>"
}
]
}
@ -402,4 +402,4 @@
}
}
]
}
}

View file

@ -31,7 +31,9 @@
"icon": "./assets/layers/food/restaurant.svg",
"layers": [
"food",
"ice_cream"
"ice_cream",
"outdoor_seating",
"food_courts"
],
"widenFactor": 3
}
}

View file

@ -151,15 +151,15 @@
"centroid"
],
"label": {
"render": "<div style='position: absolute; top: -30px; right: -10px; color: white; background-color: #452b29; width: 20px; height: 20px; border-radius: 100%'>?</div>",
"render": "<div class='text-white text-center w-5 h-5 rounded-full' style='background-color: #452b29'>?</div>",
"mappings": [
{
"if": "rwn_ref~*",
"then": "<div style='position: absolute; top: -30px; right: -10px; color: white; background-color: #452b29; width: 20px; height: 20px; border-radius: 100%'>{rwn_ref}</div>"
"then": "<div class='text-white text-center w-5 h-5 rounded-full' style='background-color: #452b29'>{rwn_ref}</div>"
},
{
"if": "proposed:rwn_ref~*",
"then": "<div style='position: absolute; top: -31px; right: -10px; color: white; background-color: #452b29; width: 22px; height: 22px; border-radius: 100%; border-style:dotted; border-color:white; border-width: 2px'>{proposed:rwn_ref}</div>"
"then": "<div class='text-white text-center w-5 h-5 rounded-full border-2 border-white border-dotted' style='background-color: #452b29'>{proposed:rwn_ref}</div>"
}
]
}
@ -369,4 +369,4 @@
}
}
]
}
}