Add comments
This commit is contained in:
parent
1cd4745c3a
commit
cc0b0f52c1
1 changed files with 9 additions and 0 deletions
|
@ -11,13 +11,22 @@ import {TagRenderingOptions} from "./TagRendering";
|
||||||
export class LayerDefinition {
|
export class LayerDefinition {
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This name is shown in the 'add XXX button'
|
||||||
|
*/
|
||||||
name: string;
|
name: string;
|
||||||
newElementTags: Tag[]
|
newElementTags: Tag[]
|
||||||
icon: string;
|
icon: string;
|
||||||
minzoom: number;
|
minzoom: number;
|
||||||
overpassFilter: TagsFilter;
|
overpassFilter: TagsFilter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This UIElement is rendered as title element in the popup
|
||||||
|
*/
|
||||||
title: TagRenderingOptions;
|
title: TagRenderingOptions;
|
||||||
|
/**
|
||||||
|
* These are the questions/shown attributes in the popup
|
||||||
|
*/
|
||||||
elementsToShow: TagRenderingOptions[];
|
elementsToShow: TagRenderingOptions[];
|
||||||
|
|
||||||
style: (tags: any) => { color: string, icon: any };
|
style: (tags: any) => { color: string, icon: any };
|
||||||
|
|
Loading…
Reference in a new issue