Studio: WIP

This commit is contained in:
Pieter Vander Vennet 2023-09-19 14:04:13 +02:00
parent 3549a10a15
commit dc82ebbd58
165 changed files with 2588 additions and 3294 deletions

View file

@ -934,138 +934,6 @@
}
}
],
"mapRendering": [
{
"location": [
"point",
"centroid"
],
"icon": {
"render": "./assets/themes/advertising/sign.svg",
"mappings": [
{
"if": {
"or": [
"advertising=billboard"
]
},
"then": "./assets/themes/advertising/billboard.svg"
},
{
"if": "advertising=board",
"then": "./assets/themes/advertising/board.svg"
},
{
"if": "advertising=column",
"then": "./assets/themes/advertising/column.svg"
},
{
"if": "advertising=flag",
"then": "./assets/themes/advertising/flag.svg"
},
{
"if": {
"and": [
"advertising=poster_box",
"_referencing_ways=[\"way/-1\"]"
]
},
"then": "brick_wall_square;./assets/themes/advertising/poster_box_no_support.svg"
},
{
"if": {
"and": [
"advertising=poster_box",
"_referencing_ways~*"
]
},
"then": "./assets/themes/advertising/poster_box_no_support.svg"
},
{
"if": "advertising=poster_box",
"then": "./assets/themes/advertising/poster_box.svg"
},
{
"if": {
"and": [
"advertising=screen",
"_referencing_ways=[\"way/-1\"]"
]
},
"then": "brick_wall_square;./assets/themes/advertising/screen_no_support.svg"
},
{
"if": {
"and": [
"advertising=screen",
"_referencing_ways~*"
]
},
"then": "./assets/themes/advertising/screen_no_support.svg"
},
{
"if": "advertising=screen",
"then": "./assets/themes/advertising/screen.svg"
},
{
"if": "advertising=sculpture",
"then": "./assets/themes/advertising/sculpture.svg"
},
{
"if": {
"and": [
"advertising=sign",
"_referencing_ways=[\"way/-1\"]"
]
},
"then": "brick_wall_square;./assets/themes/advertising/sign.svg"
},
{
"if": "advertising=sign",
"then": "./assets/themes/advertising/sign.svg"
},
{
"if": "advertising=tarp",
"then": "./assets/themes/advertising/tarp.svg"
},
{
"if": "advertising=totem",
"then": "./assets/themes/advertising/totem.svg"
},
{
"if": "advertising=wall_painting",
"then": "./assets/themes/advertising/wall_painting.svg"
}
]
},
"iconSize": {
"render": "40,40",
"mappings": [
{
"if": "advertising=flag",
"then": "60,60"
},
{
"if": "advertising=sculpture",
"then": "50,50"
}
]
},
"anchor": {
"render": "bottom",
"mappings": [
{
"if": "_referencing_ways~*",
"then": "center"
}
]
}
},
{
"width": "8",
"color": "#00f"
}
],
"allowMove": {
"enableImproveAccuracy": true,
"enableRelocation": false
@ -1403,5 +1271,139 @@
],
"maxSnapDistance": 5
}
],
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"icon": {
"render": "./assets/themes/advertising/sign.svg",
"mappings": [
{
"if": {
"or": [
"advertising=billboard"
]
},
"then": "./assets/themes/advertising/billboard.svg"
},
{
"if": "advertising=board",
"then": "./assets/themes/advertising/board.svg"
},
{
"if": "advertising=column",
"then": "./assets/themes/advertising/column.svg"
},
{
"if": "advertising=flag",
"then": "./assets/themes/advertising/flag.svg"
},
{
"if": {
"and": [
"advertising=poster_box",
"_referencing_ways=[\"way/-1\"]"
]
},
"then": "brick_wall_square;./assets/themes/advertising/poster_box_no_support.svg"
},
{
"if": {
"and": [
"advertising=poster_box",
"_referencing_ways~*"
]
},
"then": "./assets/themes/advertising/poster_box_no_support.svg"
},
{
"if": "advertising=poster_box",
"then": "./assets/themes/advertising/poster_box.svg"
},
{
"if": {
"and": [
"advertising=screen",
"_referencing_ways=[\"way/-1\"]"
]
},
"then": "brick_wall_square;./assets/themes/advertising/screen_no_support.svg"
},
{
"if": {
"and": [
"advertising=screen",
"_referencing_ways~*"
]
},
"then": "./assets/themes/advertising/screen_no_support.svg"
},
{
"if": "advertising=screen",
"then": "./assets/themes/advertising/screen.svg"
},
{
"if": "advertising=sculpture",
"then": "./assets/themes/advertising/sculpture.svg"
},
{
"if": {
"and": [
"advertising=sign",
"_referencing_ways=[\"way/-1\"]"
]
},
"then": "brick_wall_square;./assets/themes/advertising/sign.svg"
},
{
"if": "advertising=sign",
"then": "./assets/themes/advertising/sign.svg"
},
{
"if": "advertising=tarp",
"then": "./assets/themes/advertising/tarp.svg"
},
{
"if": "advertising=totem",
"then": "./assets/themes/advertising/totem.svg"
},
{
"if": "advertising=wall_painting",
"then": "./assets/themes/advertising/wall_painting.svg"
}
]
},
"iconSize": {
"render": "40,40",
"mappings": [
{
"if": "advertising=flag",
"then": "60,60"
},
{
"if": "advertising=sculpture",
"then": "50,50"
}
]
},
"anchor": {
"render": "bottom",
"mappings": [
{
"if": "_referencing_ways~*",
"then": "center"
}
]
}
}
],
"lineRendering": [
{
"width": "8",
"color": "#00f"
}
]
}