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 Playground extends LayerDefinition { constructor() { super(); this.name = "speeltuin"; this.icon = "./assets/tree_white_background.svg"; this.overpassFilter = new Tag("leisure","playground"); this.newElementTags = [new Tag("leisure", "playground"), new Tag( "fixme", "Toegevoegd met MapComplete, geometry nog uit te tekenen")] this.maxAllowedOverlapPercentage = 0; this.minzoom = 13; this.questions = [Quests.nameOf(this.name)]; this.style = this.generateStyleFunction(); this.elementsToShow = [ new TagMappingOptions({ key: "name", template: "