aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-09-16 00:47:15 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-09-16 00:47:15 +0800
commita7a3243f37765b2ac3d4d3de89e4d81cb7935c47 (patch)
treef768320803886fb2678499190efe904ba2d5a834 /src
parent4ae512fe8394b87c722377917332895a756a575a (diff)
fix: method call about geoLink
Diffstat (limited to 'src')
-rw-r--r--src/dumbymap.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dumbymap.mjs b/src/dumbymap.mjs
index 72e864e..6b64ee4 100644
--- a/src/dumbymap.mjs
+++ b/src/dumbymap.mjs
@@ -288,7 +288,7 @@ export const generateMaps = async (container, callback) => {
288 .forEach(ele => { 288 .forEach(ele => {
289 callback(ele) 289 callback(ele)
290 const markers = geoLinks 290 const markers = geoLinks
291 .filter(link => !link.targets || link.targets.include(ele.id)) 291 .filter(link => !link.targets || link.targets.includes(ele.id))
292 .map(link => ({ 292 .map(link => ({
293 xy: link.xy, 293 xy: link.xy,
294 title: link.url.pathname 294 title: link.url.pathname