diff client/src/components/map/layers.js @ 4525:9887061df57b

Use CQL filter to load the current survey difference.
author Raimund Renkert <raimund@renkert.org>
date Mon, 07 Oct 2019 14:22:35 +0200
parents 69166db6ba8a
children 02cf2b4be955
line wrap: on
line diff
--- a/client/src/components/map/layers.js	Mon Oct 07 13:30:55 2019 +0200
+++ b/client/src/components/map/layers.js	Mon Oct 07 14:22:35 2019 +0200
@@ -492,7 +492,8 @@
             params: {
               LAYERS: "sounding_differences",
               VERSION: "1.1.1",
-              TILED: true
+              TILED: true,
+              CQL_FILTER: "id=" + store.state.fairwayprofile.currentDifference
             },
             tileLoadFunction: function(tile, src) {
               HTTP.get(src, {