forked from MapComplete/MapComplete
Fix: use 'isCounted' instead of 'doCount', add check for this
This commit is contained in:
parent
a6598fd52d
commit
3a8fc4248b
6 changed files with 17 additions and 10 deletions
|
@ -153,5 +153,5 @@
|
|||
"en": "a wall, cliff or rock",
|
||||
"de": "eine Wand, eine Klippe oder einen Felsen"
|
||||
},
|
||||
"doCount": false
|
||||
"isCounted": false
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
"filter": {
|
||||
"sameAs": "banks_with_atm"
|
||||
},
|
||||
"doCount": false
|
||||
"isCounted": false
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
"osmTags": "building~*"
|
||||
},
|
||||
"minzoom": 18,
|
||||
"doCount": false,
|
||||
"isCounted": false,
|
||||
"calculatedTags": [
|
||||
"_surface:strict:=feat(get)('_surface')"
|
||||
],
|
||||
|
@ -152,7 +152,8 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"allowMove": false
|
||||
"allowMove": false,
|
||||
"isCounted": false
|
||||
},
|
||||
{
|
||||
"id": "osm_adresses",
|
||||
|
@ -171,7 +172,6 @@
|
|||
}
|
||||
},
|
||||
"minzoom": 18,
|
||||
"doCount": false,
|
||||
"pointRendering": [
|
||||
{
|
||||
"label": {
|
||||
|
@ -191,7 +191,8 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"allowMove": false
|
||||
"allowMove": false,
|
||||
"isCounted": false
|
||||
},
|
||||
{
|
||||
"id": "bag_pand",
|
||||
|
|
|
@ -395,7 +395,7 @@
|
|||
},
|
||||
"minzoom": 16,
|
||||
"name": null,
|
||||
"doCount": false,
|
||||
"isCounted": false,
|
||||
"+tagRenderings": [
|
||||
{
|
||||
"id": "repairs_climbing_shoes",
|
||||
|
@ -470,7 +470,7 @@
|
|||
],
|
||||
"override": {
|
||||
"minzoom": 15,
|
||||
"doCount": false,
|
||||
"isCounted": false,
|
||||
"pointRendering": [
|
||||
{
|
||||
"iconSize": "30,30"
|
||||
|
|
|
@ -275,7 +275,8 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"allowMove": false
|
||||
"allowMove": false,
|
||||
"isCounted": false
|
||||
},
|
||||
{
|
||||
"id": "grb",
|
||||
|
@ -606,7 +607,8 @@
|
|||
"fill": "no"
|
||||
}
|
||||
],
|
||||
"allowMove": false
|
||||
"allowMove": false,
|
||||
"isCounted": false
|
||||
},
|
||||
"address",
|
||||
{
|
||||
|
|
|
@ -88,6 +88,10 @@ export class PrevalidateLayer extends DesugaringStep<LayerConfigJson> {
|
|||
}
|
||||
}
|
||||
|
||||
if(json["doCount"] !== undefined){
|
||||
context.err("Detected 'doCount'. did you mean: isCounted ?")
|
||||
}
|
||||
|
||||
if (
|
||||
json.syncSelection !== undefined &&
|
||||
LayerConfig.syncSelectionAllowed.indexOf(json.syncSelection) < 0
|
||||
|
|
Loading…
Reference in a new issue