# HG changeset patch # User Thomas Junk # Date 1626105361 -7200 # Node ID 0c8342c7ec8ba95f841da5612fd0aaa0396cc09f # Parent 776e34886471967c9ad18403753c6d5cc9238298 Fix for PDF-Tool. diff -r 776e34886471 -r 0c8342c7ec8b client/src/components/Pdftool.vue --- a/client/src/components/Pdftool.vue Mon Jul 12 16:16:04 2021 +0200 +++ b/client/src/components/Pdftool.vue Mon Jul 12 17:56:01 2021 +0200 @@ -278,12 +278,20 @@ srsName: "EPSG:3857", featureNS: "gemma", featurePrefix: "gemma", - featureTypes: ["sounding_results"], + featureTypes: ["sounding_results_areas_geoserver"], outputFormat: "application/json", bbox: currentExtent, geometryName: "areas" }; - if (this.selectedSurvey) { + const survey = this.selectedSurvey; + debugger; + if (survey) { + if (survey["survey_type"] === "marking") { + params["featureTypes"] = [ + "sounding_results_marking_points_geoserver" + ]; + params["geometryName"] = "points"; + } params["filter"] = equalToFilter( "bottleneck_id", this.selectedSurvey.bottleneck_id