aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Link.mjs2
-rw-r--r--src/dumbyUtils.mjs1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/Link.mjs b/src/Link.mjs
index 2ff1123..9b58fb3 100644
--- a/src/Link.mjs
+++ b/src/Link.mjs
@@ -48,7 +48,7 @@ export class GeoLink extends window.HTMLAnchorElement {
48 this.lines = [] 48 this.lines = []
49 49
50 // Hover link for LeaderLine 50 // Hover link for LeaderLine
51 this.onmouseover = () => this.getMarkersFromMaps(this) 51 this.onmouseover = () => this.getMarkersFromMaps()
52 .filter(isAnchorVisible) 52 .filter(isAnchorVisible)
53 .forEach(anchor => { 53 .forEach(anchor => {
54 const labelText = new URL(this).searchParams.get('text') ?? this.textContent 54 const labelText = new URL(this).searchParams.get('text') ?? this.textContent
diff --git a/src/dumbyUtils.mjs b/src/dumbyUtils.mjs
index 6a1eaca..0c05973 100644
--- a/src/dumbyUtils.mjs
+++ b/src/dumbyUtils.mjs
@@ -100,7 +100,6 @@ export const addMarkerByPoint = ({ point, map }) => {
100 100
101 const marker = map.renderer.addMarker({ 101 const marker = map.renderer.addMarker({
102 xy: [lon, lat], 102 xy: [lon, lat],
103 type: 'circle',
104 }) 103 })
105 marker.dataset.xy = `${lon},${lat}` 104 marker.dataset.xy = `${lon},${lat}`
106 105