From 79b0eb57303583567b55a860c33e29aa5b1d08ed Mon Sep 17 00:00:00 2001 From: Hans Kunkell Date: Sat, 5 Nov 2022 11:47:43 +0100 Subject: [PATCH] Phi: Fix runways and comms in leaflet popups The popup of an airport showed: runways: [Object object] [Object object] .... This fix will instead print the runway's ID, ie: runways: 08L, 26R, 08R, 26L Same issue solved with communication frequencies. --- Phi/topics/Map/NavdbLayer.js | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/Phi/topics/Map/NavdbLayer.js b/Phi/topics/Map/NavdbLayer.js index 83712e831..f810c4f83 100644 --- a/Phi/topics/Map/NavdbLayer.js +++ b/Phi/topics/Map/NavdbLayer.js @@ -49,8 +49,27 @@ onEachFeature : function(feature, layer) { if (feature.properties) { var popupString = '';