import {LayerDefinition} from "../LayerDefinition"; import {Quests} from "../Quests"; import {TagMappingOptions} from "../UI/TagMapping"; import L from "leaflet" import {CommonTagMappings} from "./CommonTagMappings"; import {Or, Tag} from "../Logic/TagsFilter"; export class Bos extends LayerDefinition { constructor() { super(); this.name = "bos"; this.icon = "./assets/tree_white_background.svg"; this.overpassFilter = new Or([ new Tag("natural", "wood"), new Tag("landuse", "forest"), new Tag("natural", "scrub") ] ); this.newElementTags = [ new Tag("landuse", "forest"), new Tag("fixme", "Toegevoegd met MapComplete, geometry nog uit te tekenen") ]; this.removeContainedElements = true; this.minzoom = 14; this.questions = [Quests.nameOf(this.name), Quests.accessNatureReserve, Quests.operator]; this.style = this.generateStyleFunction(); this.elementsToShow = [ new TagMappingOptions({ key: "name", template: "