aboutsummaryrefslogtreecommitdiff
path: root/src/tol.ts
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-04-30 14:20:46 +1000
committerTerry Truong <terry06890@gmail.com>2022-04-30 14:20:46 +1000
commit764e5668d54e9af96dddcc8dd386d4cd8958d75a (patch)
tree7585670a1675e18139b95d3e8379b0b312e2c938 /src/tol.ts
parentd87bb9bc0991d7ce4eeb895da61c63a204edaa4d (diff)
Make TileInfoModal display more data
Diffstat (limited to 'src/tol.ts')
-rw-r--r--src/tol.ts10
1 files changed, 8 insertions, 2 deletions
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;
}
}