Add the possibility to load a custom layout with base64-encoded jsons

This commit is contained in:
Pieter Vander Vennet 2020-08-08 17:50:43 +02:00
parent 31ec3a7755
commit 14930e2f93
10 changed files with 296 additions and 74 deletions

View file

@ -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,