aboutsummaryrefslogtreecommitdiff
path: root/src/tol.ts
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-08-30 14:54:33 +1000
committerTerry Truong <terry06890@gmail.com>2022-08-30 14:57:21 +1000
commit0f39be89c3d5620b8187b1d7621b7680800c268b (patch)
tree315e4021898f01741924a32525fa4f831ee987f8 /src/tol.ts
parente8e58a3bb9dc233dacf573973457c5b48d369503 (diff)
Display IUCN status in TileInfoModal
Diffstat (limited to 'src/tol.ts')
-rw-r--r--src/tol.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tol.ts b/src/tol.ts
index 2618bfc..bd299b3 100644
--- a/src/tol.ts
+++ b/src/tol.ts
@@ -12,6 +12,7 @@ export class TolNode {
commonName: null | string;
imgName: null | string |
[string, string] | [null, string] | [string, null]; // Pairs represent compound images
+ iucn: null | string;
constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){
this.otolId = null;
this.children = children;
@@ -20,6 +21,7 @@ export class TolNode {
this.pSupport = pSupport;
this.commonName = null;
this.imgName = null;
+ this.iucn = null;
}
}
// Maps TolNode names to TolNode objects