Edit code comments

This commit is contained in:
D. Berge
2025-08-06 11:24:39 +02:00
parent 78838cbc41
commit 9cf15ce9dd

View File

@@ -232,7 +232,7 @@ export default {
},
vesselTrackLinesLayer (options = {}) {
return new LineLayer({
return new LineLayer({ // TODO Change to TrackLayer
id: 'navl',
data: `/api/navdata?v=${Date.now()}`, // NOTE Not too sure about this
lineWidthMinPixels: 2,
@@ -577,6 +577,7 @@ export default {
const sr0 = [ stats.mean - 2.1*stats.sd, stats.mean + 2.1*stats.sd ];
const sr1 = [ stats.mode - 2.1*stats.sd, stats.mode + 2.1*stats.sd ];
/*
console.log('Positions sample:', positions.slice(0, 10));
console.log('Weights sample:', weights.slice(0, 10));
console.log("Mode:", this.heatmapValue);
@@ -586,6 +587,7 @@ export default {
console.log(sr1);
console.log("Actual ranges");
console.log(colorDomain);
*/
return new HeatmapLayer({
id: 'seqrh',