Completed the port of the buurtnatuur-layer with some fixes for that

This commit is contained in:
Pieter Vander Vennet 2020-09-17 19:24:57 +02:00
parent 8963db4621
commit 77e065d6e7
8 changed files with 29 additions and 9 deletions

View file

@ -78,6 +78,10 @@ export class FromJSON {
json.startLat,
json.startLon,
new Combine(["<h3>", tr(json.title), "</h3>", tr(json.description)]),
undefined,
undefined,
tr(json.descriptionTail)
);
layout.widenFactor = json.widenFactor ?? 0.07;

View file

@ -48,6 +48,10 @@ export interface LayoutConfigJson {
*/
description: string | any;
/**
* A part of the description, shown under the login-button.
*/
descriptionTail?: string | any;
/**
* The icon representing this theme.