From 764e5668d54e9af96dddcc8dd386d4cd8958d75a Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 30 Apr 2022 14:20:46 +1000 Subject: Make TileInfoModal display more data --- src/tol.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/tol.ts') diff --git a/src/tol.ts b/src/tol.ts index bfc778f..46dccd7 100644 --- a/src/tol.ts +++ b/src/tol.ts @@ -10,12 +10,18 @@ export class TolNode { parent: string | null; tips: number; pSupport: boolean; - imgFile: string | null; + img: null | { + filename: string, + eolId: string, + sourceUrl: string, + license: string, + copyrightOwner: string + }; constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){ this.children = children; this.parent = parent; this.tips = tips; this.pSupport = pSupport; - this.imgFile = null; + this.img = null; } } -- cgit v1.2.3