forked from MapComplete/MapComplete
Themes(sauna): refactor 'sauna_at_leisure' to contain all sauna relevant questions and 'layers/sauna.json' to contain only related questions; include 'sauna_at_leisure' in 'hotels' and 'beauty shops'; add beauty shop types
This commit is contained in:
parent
ccbbba5628
commit
c701247066
8 changed files with 452 additions and 174 deletions
|
|
@ -1072,7 +1072,7 @@ class DeriveSource extends DesugaringStep<LayerConfigJson> {
|
|||
return json
|
||||
}
|
||||
|
||||
json.source = { osmTags }
|
||||
json.source = { osmTags: {and: [osmTags]} }
|
||||
return json
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ export default class LayerConfig extends WithContextLoader {
|
|||
* If this layer is based on another layer, this might be indicated here
|
||||
* @private
|
||||
*/
|
||||
private readonly _basedOn: string | undefined
|
||||
public readonly _basedOn: string | undefined
|
||||
|
||||
constructor(
|
||||
json: LayerConfigJson,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue