forked from MapComplete/MapComplete
Add the possibility to load a custom layout with base64-encoded jsons
This commit is contained in:
parent
31ec3a7755
commit
14930e2f93
10 changed files with 296 additions and 74 deletions
|
@ -94,14 +94,9 @@ export class LayerDefinition {
|
|||
static WAYHANDLING_CENTER_AND_WAY = 2;
|
||||
|
||||
constructor(id: string, options: {
|
||||
name: string,
|
||||
name: string | UIElement,
|
||||
description: string | UIElement,
|
||||
presets: {
|
||||
tags: Tag[],
|
||||
title: string | UIElement,
|
||||
description?: string | UIElement,
|
||||
icon?: string
|
||||
}[],
|
||||
presets: Preset[],
|
||||
icon: string,
|
||||
minzoom: number,
|
||||
overpassFilter: TagsFilter,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue