From 2b4ea4c49971b3493b9b6b7e97f3279889f01b4d Mon Sep 17 00:00:00 2001 From: Bryon Lewis Date: Fri, 23 Feb 2024 13:53:13 -0500 Subject: [PATCH] remove console --- client/src/components/geoJS/layers/legendLayer.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/client/src/components/geoJS/layers/legendLayer.ts b/client/src/components/geoJS/layers/legendLayer.ts index 7997598..78e4013 100644 --- a/client/src/components/geoJS/layers/legendLayer.ts +++ b/client/src/components/geoJS/layers/legendLayer.ts @@ -143,21 +143,16 @@ export default class LegendLayer { // For compressed we need to draw based on the start/endTimes instead of the standard const time = this.spectroInfo.end_time - this.spectroInfo.start_time; const timeToPixels = this.spectroInfo.width / time; - console.log(`width: ${this.spectroInfo.width} time: ${time}`); - console.log(`timeToPixels: ${timeToPixels}`); const { start_times, end_times, widths } = this.spectroInfo; if (start_times && end_times && widths) { // We need a pixel time to map to the 0 position let pixelOffset = 0; for (let i = 0; i < start_times.length; i += 1) { - console.log(pixelOffset); const length = yBuffer * 4; const start_time = start_times[i]; const end_time = end_times[i]; - const width = widths[i] - console.log(`endtime: ${end_time} starttime: ${start_time} diff: ${end_time-start_time}`); - console.log((end_time - start_time) * timeToPixels + pixelOffset); + const width = widths[i]; this.lineDataX.push({ line: { type: "LineString",