Add comments

This commit is contained in:
Pieter Vander Vennet 2020-07-07 16:00:39 +02:00
parent 1cd4745c3a
commit cc0b0f52c1

View file

@ -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 };