From cc0b0f52c1866d3bd5da99ec3d3a425e4b416685 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Tue, 7 Jul 2020 16:00:39 +0200 Subject: [PATCH] Add comments --- Customizations/LayerDefinition.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Customizations/LayerDefinition.ts b/Customizations/LayerDefinition.ts index bd64aa4..945f299 100644 --- a/Customizations/LayerDefinition.ts +++ b/Customizations/LayerDefinition.ts @@ -11,13 +11,22 @@ import {TagRenderingOptions} from "./TagRendering"; export class LayerDefinition { + /** + * This name is shown in the 'add XXX button' + */ name: string; newElementTags: Tag[] icon: string; minzoom: number; overpassFilter: TagsFilter; + /** + * This UIElement is rendered as title element in the popup + */ title: TagRenderingOptions; + /** + * These are the questions/shown attributes in the popup + */ elementsToShow: TagRenderingOptions[]; style: (tags: any) => { color: string, icon: any };