diff --git a/tasks/build-options/extractConfigFromWMTS.js b/tasks/build-options/extractConfigFromWMTS.js index 1c9325dcd5..c44d526198 100644 --- a/tasks/build-options/extractConfigFromWMTS.js +++ b/tasks/build-options/extractConfigFromWMTS.js @@ -184,14 +184,13 @@ async function processLayer (gcLayer, wvLayers, entry) { if (dimension['ows:Identifier']._text === 'Time') { try { // ADDED THESE - console.warn(`!!! wvLayer ===`, JSON.stringify(wvLayer, null, 2)) - console.warn(`!!!dimension ===`, dimension) + console.warn('!!! wvLayer ===', JSON.stringify(wvLayer, null, 2)) + console.warn('!!!dimension ===', dimension) // console.warn(`!!!gcLayer ===`, gcLayer) // if (dimension.Value._text) if ('Value' in dimension && Array.isArray(dimension.Value) && dimension.Value.some(el => '_text' in el)) { wvLayer = await processTemporalLayer(wvLayer, dimension.Value) } - } catch (e) { console.error(e) console.error(`${prog}: ERROR: [${ident}] Error processing time values.`) diff --git a/web/js/mapUI/components/kiosk/tile-measurement/utils/image-api-request.js b/web/js/mapUI/components/kiosk/tile-measurement/utils/image-api-request.js index 6f2994ff7f..5fc68558b3 100644 --- a/web/js/mapUI/components/kiosk/tile-measurement/utils/image-api-request.js +++ b/web/js/mapUI/components/kiosk/tile-measurement/utils/image-api-request.js @@ -29,7 +29,7 @@ export default async function fetchWMSImage(layer, date, extent, testMode) { }; try { - console.warn('FETCHING IMAGE FROM IMAGE-API-REQUEST.JS') + console.warn('FETCHING IMAGE FROM IMAGE-API-REQUEST.JS'); const response = await axios.get(baseUrl, { params, responseType: 'arraybuffer' }); // Convert the response data to a Blob which can be used as image src