diff --git a/.gitignore b/.gitignore index 7e3a710..7588ece 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,5 @@ k8s/secrets.yaml /.horusec +/vendor + diff --git a/assets/js/map.ts b/assets/js/map.ts index 704f41b..a74d1df 100644 --- a/assets/js/map.ts +++ b/assets/js/map.ts @@ -919,6 +919,9 @@ let MapAPRSMap = { // Update popup if provided if (data.popup) { existingMarker.setPopupContent(data.popup); + // Force popup to refresh by unbinding and rebinding + existingMarker.unbindPopup(); + existingMarker.bindPopup(data.popup); } } else { // Marker doesn't exist, create it @@ -1178,7 +1181,7 @@ let MapAPRSMap = { // const symbolDesc = data.symbol_description || `Symbol: ${symbolTableId}${symbolCode}`; let content = `