changeset 772:990a9d85ac6c

client: readd diagnosis output for fairway rectangle calc * Still use the diagnosis output to the console and live with the warning, until we have a better way to record this information.
author Bernhard Reiter <bernhard@intevation.de>
date Wed, 26 Sep 2018 09:49:00 +0200
parents 6d214b3bed35
children 22c3acea700d c55771b7c502
files client/src/map/Maplayer.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/map/Maplayer.vue	Wed Sep 26 09:46:07 2018 +0200
+++ b/client/src/map/Maplayer.vue	Wed Sep 26 09:49:00 2018 +0200
@@ -171,7 +171,7 @@
 
       var l = intersects.features.length;
       if (l % 2 != 0) {
-        //console.log("Ignoring fairway because profile only intersects once.");
+        console.log("Ignoring fairway because profile only intersects once.");
       } else {
         for (let i = 0; i < l; i += 2) {
           let pStartPoint = profileLine.getCoordinates()[0];