forked from MapComplete/MapComplete
Add layers to search menu
This commit is contained in:
parent
e6dab1a83f
commit
c591770eab
33 changed files with 332 additions and 195 deletions
|
@ -641,4 +641,18 @@ export default class LayerConfig extends WithContextLoader {
|
|||
}
|
||||
return mostShadowed ?? matchingPresets[0]
|
||||
}
|
||||
|
||||
public isNormal(){
|
||||
if(this.id.startsWith("note_import")){
|
||||
return false
|
||||
}
|
||||
|
||||
if(Constants.added_by_default.indexOf(<any> this.id) >=0){
|
||||
return false
|
||||
}
|
||||
if(this.filterIsSameAs !== undefined){
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue