From 7c52ace770053c1bbd7144628efa70e6f9cf734b Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sun, 11 Oct 2020 18:22:04 +0200 Subject: [PATCH] Fix typings --- Customizations/Layout.ts | 2 +- Logic/FilteredLayer.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Customizations/Layout.ts b/Customizations/Layout.ts index 378a0d5..70bc7dc 100644 --- a/Customizations/Layout.ts +++ b/Customizations/Layout.ts @@ -56,7 +56,7 @@ export class Layout { startzoom: number, startLat: number, startLon: number, - welcomeMessage: Translation | string, + welcomeMessage: UIElement | string, gettingStartedPlzLogin: UIElement | string = new Combine([ Translations.t.general.getStartedLogin .SetClass("soft") diff --git a/Logic/FilteredLayer.ts b/Logic/FilteredLayer.ts index 57007c0..cad504f 100644 --- a/Logic/FilteredLayer.ts +++ b/Logic/FilteredLayer.ts @@ -43,8 +43,9 @@ export class FilteredLayer { private _showOnPopup: (tags: UIEventSource, feature: any) => UIElement; + private static readonly grid = codegrid.CodeGrid("./tiles/"); - + constructor( layerDef: LayerDefinition, showOnPopup: ((tags: UIEventSource, feature: any) => UIElement)