Mercurial > gemma
changeset 5435:351d38269e4e marking-single-beam
Display of the according type of sounding data in legend.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 13 Jul 2021 10:59:22 +0200 |
parents | 789cffef3362 |
children | a65b0891e8fd eeee1c411576 |
files | client/src/components/Pdftool.vue |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/Pdftool.vue Mon Jul 12 21:56:39 2021 +0200 +++ b/client/src/components/Pdftool.vue Tue Jul 13 10:59:22 2021 +0200 @@ -815,7 +815,11 @@ this.soundingInfo.feature.properties.zpg_exception; let survey = this.selectedSurvey; - + const SURVEYTYPES = { + marking: "Marking Vessel", + multi: "Multibeam", + single: "Singlebeam" + }; // determine text dimensions // this is a little bit cumbersome but we need to separate width // calculations and writing @@ -825,7 +829,8 @@ let str1_1 = this.$gettext("Bottleneck") + ": "; let str1_2 = this.selectedBottleneck; let str2_1 = this.$gettext("Survey date") + ": "; - let str2_2 = survey.date_info; + let str2_2 = + survey.date_info + " (" + SURVEYTYPES[survey["survey_type"]] + ")"; let str3_1 = this.$gettext("Ref gauge") + ": "; let str3_2 = survey.gauge_objname; let str4_1 = this.$gettext("Depth relativ to") + ": ";