forked from MapComplete/MapComplete
Refactoring: move anchor out of iconSize
This commit is contained in:
parent
3e49929f25
commit
140c813151
52 changed files with 168 additions and 87 deletions
|
@ -479,7 +479,7 @@
|
|||
"render": "<div style='margin-top: -42px; color: black' class='rounded-full p-1 font-bold relative'>{addr:housenumber}</div>",
|
||||
"condition": "addr:housenumber~*"
|
||||
},
|
||||
"iconSize": "50,50,center",
|
||||
"iconSize": "50,50",
|
||||
"icon": {
|
||||
"mappings": [
|
||||
{
|
||||
|
@ -495,7 +495,8 @@
|
|||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"width": {
|
||||
|
|
|
@ -416,7 +416,8 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "30,30,center"
|
||||
"iconSize": "30,30",
|
||||
"anchor": "center"
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
|
|
|
@ -235,7 +235,8 @@
|
|||
"end"
|
||||
],
|
||||
"icon": "circle:#ccc",
|
||||
"iconSize": "3,3,center"
|
||||
"iconSize": "3,3",
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"#": "The center line",
|
||||
|
|
|
@ -43,7 +43,8 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "20,20,center"
|
||||
"iconSize": "20,20",
|
||||
"anchor": "center"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
|
|
|
@ -638,7 +638,7 @@
|
|||
"render": "<div style='margin-top: -42px; color: white' class='rounded-full p-1 font-bold relative'>{addr:housenumber}</div>",
|
||||
"condition": "addr:housenumber~*"
|
||||
},
|
||||
"iconSize": "50,50,center",
|
||||
"iconSize": "50,50",
|
||||
"icon": {
|
||||
"render": "./assets/layers/address/housenumber_blank.svg",
|
||||
"mappings": [
|
||||
|
@ -661,7 +661,8 @@
|
|||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
],
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
|
|
|
@ -47,7 +47,8 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "20,20,center"
|
||||
"iconSize": "20,20",
|
||||
"anchor": "center"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
|
@ -92,7 +93,8 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"iconSize": "20,20,center"
|
||||
"iconSize": "20,20",
|
||||
"anchor": "center"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
|
|
|
@ -210,7 +210,8 @@
|
|||
"point"
|
||||
],
|
||||
"icon": "./assets/themes/width/icon.svg",
|
||||
"iconSize": "40,40,center"
|
||||
"iconSize": "40,40",
|
||||
"anchor": "center"
|
||||
},
|
||||
{
|
||||
"width": "4",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue