forked from MapComplete/MapComplete
Fix tests
This commit is contained in:
parent
3176a4d665
commit
bc1590fd08
3 changed files with 319 additions and 144 deletions
|
@ -43,28 +43,10 @@
|
|||
"iconSize": "15,15,center"
|
||||
}
|
||||
],
|
||||
"calculatedTags": [
|
||||
"_embedded_crab_addresses= Number(feat.properties.zoom) >= 18 ? feat.overlapWith('crab_address').length : undefined"
|
||||
],
|
||||
"minZoom": 18,
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "hw",
|
||||
"render": "There are {_embedded_crab_addresses} adresses in view",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "zoom<18",
|
||||
"then": "Zoom in more..."
|
||||
},
|
||||
{
|
||||
"if": "_embedded_crab_addresses=",
|
||||
"then": "Loading..."
|
||||
},
|
||||
{
|
||||
"if": "_embedded_crab_addresses=0",
|
||||
"then": "No CRAB addresses in view. Zoom in more to see them"
|
||||
}
|
||||
]
|
||||
"render": "Beep boop! I'm a bot!"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue