Many tweaks to use MC in an iframe with less clutter
This commit is contained in:
parent
894b0d45ca
commit
f88cb9a730
19 changed files with 384 additions and 236 deletions
|
@ -2743,6 +2743,7 @@
|
|||
"_last_edit:passed_time>=300"
|
||||
]
|
||||
},
|
||||
"metacondition": "__featureSwitchEnableLogin=true",
|
||||
"render": {
|
||||
"special": {
|
||||
"type": "if_nothing_known",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"id": "summary",
|
||||
"description": "Special layer which shows `count`",
|
||||
"description": "Special layer which shows `count`, probably provided by the clustering server or some clustering algorithm",
|
||||
"source": "special",
|
||||
"title": {
|
||||
"render": {
|
||||
|
@ -16,7 +16,14 @@
|
|||
"centroid"
|
||||
],
|
||||
"iconSize": "40,40",
|
||||
"label": "{total_metric}",
|
||||
"label": {
|
||||
"mappings": [
|
||||
{
|
||||
"if": "total_metric!=0",
|
||||
"then": "{total_metric}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"labelCss": "background: #ffffffbb",
|
||||
"labelCssClasses": "w-12 text-lg rounded-xl p-1 px-2"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue