import {LayerDefinition} from "../LayerDefinition"; import {Quests} from "../Quests"; import {TagMappingOptions} from "../UI/TagMapping"; import L from "leaflet" import {CommonTagMappings} from "./CommonTagMappings"; import {Tag} from "../Logic/TagsFilter"; export class Park extends LayerDefinition { constructor() { super(); this.name = "park"; this.icon = "./assets/tree_white_background.svg"; this.overpassFilter = new Tag("leisure","park"); this.newElementTags = [new Tag("leisure", "park"), new Tag("fixme", "Toegevoegd met MapComplete, geometry nog uit te tekenen")]; this.removeTouchingElements = true; this.minzoom = 13; this.questions = [Quests.nameOf("park")]; this.style = this.generateStyleFunction(); this.elementsToShow = [ new TagMappingOptions({ key: "name", template: "