aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/dumbyUtils.mjs
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-13 21:31:04 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-14 16:34:00 +0800
commit9071bd030a0564ce387134d5844e777cb535e28f (patch)
tree09698a5c22c64a5ae63a9f2217fbbcbc7160b982 /src/dumbyUtils.mjs
parentcc6e93d86cc39d4f7cab8ffce95988d8fc1d94d8 (diff)
feat: add tooltip for GeoLink
Diffstat (limited to 'src/dumbyUtils.mjs')
-rw-r--r--src/dumbyUtils.mjs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dumbyUtils.mjs b/src/dumbyUtils.mjs
index a449646..8bd4423 100644
--- a/src/dumbyUtils.mjs
+++ b/src/dumbyUtils.mjs
@@ -165,6 +165,7 @@ export const createGeoLink = (link) => {
165 // TODO refactor as data attribute 165 // TODO refactor as data attribute
166 link.targets = params.get('id')?.split(',') ?? null 166 link.targets = params.get('id')?.split(',') ?? null
167 link.type = params.get('type') ?? null 167 link.type = params.get('type') ?? null
168 link.title = 'Left-Click to move Camera, Middle-Click to clean anchor'
168 169
169 link.lines = [] 170 link.lines = []
170 171