# HG changeset patch # User Thomas Junk # Date 1626166762 -7200 # Node ID 351d38269e4ef040524a4432e57cec68aeaab28c # Parent 789cffef3362981a5dc6483100e8c5e2cd25486d Display of the according type of sounding data in legend. diff -r 789cffef3362 -r 351d38269e4e client/src/components/Pdftool.vue --- 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") + ": ";