Add labels

This commit is contained in:
Pieter Vander Vennet 2022-03-26 15:50:41 +01:00 committed by GitHub
parent 676787eaf7
commit d345a9c259
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -223,7 +223,15 @@
"location": [ "location": [
"point", "point",
"centroid" "centroid"
] ],
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
}
} }
] ]
}, },
@ -332,7 +340,14 @@
"location": [ "location": [
"point", "point",
"centroid" "centroid"
] ], "label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
}
} }
] ]
}, },
@ -568,7 +583,15 @@
"location": [ "location": [
"point", "point",
"centroid" "centroid"
] ], "label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
}
}, },
{ {
"color": { "color": {