From c13aa23e2f4050961ba6f66c6795c6a5a5ae268f Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Sun, 3 Aug 2025 11:57:12 +0200 Subject: [PATCH] Add heatmaps to map (various data facets) --- lib/www/client/source/src/views/Map.vue | 191 +++++++++++++++++++++++- 1 file changed, 190 insertions(+), 1 deletion(-) diff --git a/lib/www/client/source/src/views/Map.vue b/lib/www/client/source/src/views/Map.vue index 19e3245..afe0566 100644 --- a/lib/www/client/source/src/views/Map.vue +++ b/lib/www/client/source/src/views/Map.vue @@ -52,7 +52,189 @@ Raw data + +
+ + + + + + Δij Total error + + + + + Δi Inline error + + + + + Δj Crossline error + + + + + + + + + + + + + + + Mean (μ) + + + + + Standard deviation (σ) + + + + + Range (R) + + + + + + + + + + + + + + Mean (μ) + + + + + Standard deviation (σ) + + + + + Range (R) + + + + + + + + + + + + + + Mean (μ) + + + + + Standard deviation (σ) + + + + + Range (R) + + + + + + + + + + + + + + Mean (μ) + + + + + Standard deviation (σ) + + + + + Range (R) + + + + + + + + + + + + + + Mean (μ) + + + + + Standard deviation (σ) + + + + + Range (R) + + + + + + + + + + + + + +
+ + Final data @@ -365,6 +547,7 @@ export default { maxPitch: 89 }, + heatmapValue: "total_error", crosshairsPosition: [], searchText: "", @@ -887,6 +1070,12 @@ export default { } }, + setHeatmapValue (v) { + this.heatmapValue = v; + console.log("Switched heatmap to", v); + this.render(); + }, + checkWebGLSupport() { const canvas = document.createElement('canvas'); const gl = canvas.getContext('webgl2') || canvas.getContext('webgl'); @@ -967,7 +1156,7 @@ export default { //this.layersAvailable.seqfp = this.rawSequencesPointsGunDataLayer; - this.layersAvailable.seqrh = this.rawSequencesIJErrorLayer; + this.layersAvailable.seqrh = this.heatmapLayer; this.layersAvailable.crosshairs = (options = {}) => { return new IconLayer({