From e18db9c9d72caa65bc019cec73848a1572e37112 Mon Sep 17 00:00:00 2001 From: Jason Liu Date: Thu, 27 Jun 2024 10:13:08 -0400 Subject: [PATCH] remove e.stopPropagation and popup handling --- src/ui/RadarMarker.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ui/RadarMarker.ts b/src/ui/RadarMarker.ts index df0945f..eaecef6 100644 --- a/src/ui/RadarMarker.ts +++ b/src/ui/RadarMarker.ts @@ -145,10 +145,6 @@ class RadarMarker extends maplibregl.Marker { const element = this.getElement(); if (element) { element.addEventListener('click', (e) => { - e.stopPropagation(); // stop propagation to map - if (this._popup) { - this.togglePopup(); - } this.fire('click', e); }); }