Use proper description in layerconfig

This commit is contained in:
Pieter Vander Vennet 2021-01-05 01:30:59 +01:00
parent f5a4e8cbec
commit 85a6894c92
14 changed files with 113 additions and 14 deletions

View file

@ -66,7 +66,7 @@ export default class LayerConfig {
this.id = json.id;
this.name = Translations.T(json.name);
this.description = Translations.T(json.name);
this.description = Translations.T(json.description);
this.overpassTags = FromJSON.Tag(json.overpassTags, context + ".overpasstags");
this.doNotDownload = json.doNotDownload ?? false,
this.passAllFeatures = json.passAllFeatures ?? false;

View file

@ -19,7 +19,7 @@ export interface LayerConfigJson {
/**
* A description for this layer.
* Shown in the layer selections and in the personal theme
* Shown in the layer selections and in the personel theme
*/
description?: string | any;