changeset 4459:dc9c150243df

map.js: remove unused code. Commit 69166db6ba8a removes a code which was effectively never used. This made the whole condition check superfluous which was in turn deleted. This commit removes helper variables for the never used code. Whatever was intended here, it wasn't complete and never used. If necessary it should be done again - properly.
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 23 Sep 2019 10:40:12 +0200
parents 0b99f03be707
children ace7c8d6290d
files client/src/store/map.js
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/store/map.js	Mon Sep 23 10:05:24 2019 +0200
+++ b/client/src/store/map.js	Mon Sep 23 10:40:12 2019 +0200
@@ -523,15 +523,6 @@
             commit("addIdentifiedFeatures", features);
           });
         }
-        // trying the GetFeatureInfo way for WMS
-        var iecdisSource = map.getLayer("INLANDECDIS").getSource();
-        var iecdisUrl = iecdisSource.getGetFeatureInfoUrl(
-          event.coordinate,
-          currentResolution /* resolution */,
-          "EPSG:3857",
-          // { INFO_FORMAT: "application/vnd.ogc.gml" } // not allowed by d4d
-          { INFO_FORMAT: "text/plain" }
-        );
       });
     },
     refreshLayers({ state }) {