From e5f61cdc46c19d8a361659dc3917dab127fde268 Mon Sep 17 00:00:00 2001 From: Matt Walsh Date: Tue, 5 Jul 2022 22:27:36 -0500 Subject: [PATCH] additional console log data --- html/resources/js/location.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/resources/js/location.mjs b/html/resources/js/location.mjs index 879e51a..dcfd792 100644 --- a/html/resources/js/location.mjs +++ b/html/resources/js/location.mjs @@ -207,7 +207,6 @@ const getPoint = async (_place) => { // get hourly forecast, text forecast and list of nearest stations const pointReceived = (point, _place) => { const place = { ..._place }; - ProgressBar.set('NWS point received'); // if json was provided store new values if (point) { place.pointX = point.properties.gridX; @@ -218,6 +217,7 @@ const pointReceived = (point, _place) => { place.pointInfo = point; place.timeZone = point.properties.timeZone; } + ProgressBar.set(`NWS point received ${place.office}:${place.pointX},${place.pointY}`); // fill out title // add a map marker if using follow me @@ -344,7 +344,7 @@ const getStations = async (baseUrl, place) => { // extract nearest station const stationsReceived = async (stations, _place) => { const place = { ..._place }; - ProgressBar.set('List of stations received'); + ProgressBar.set(`List of stations received: ${stations.features[0].properties.stationIdentifier}`); // see if there is a closest location try { // if no json was provided then the cached station should be used