From a87b354af3fd1dcc6183707b22648c26baeeaf9c Mon Sep 17 00:00:00 2001 From: OpenDEM Date: Thu, 8 Dec 2022 16:36:15 +0100 Subject: [PATCH] fix broken permalink behaviour set ignoredLayers to 4 and added missing outcommented layers for documentation --- index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 23ab117..bfdf2d7 100644 --- a/index.php +++ b/index.php @@ -97,6 +97,8 @@ var layer_tidalscale; // 16 var layer_permalink; // 17 var layer_waterdepth_trackpoints_100m; // 18 + // var layer_elevation_profile_contours; // 19 + // var layer_elevation_profile_hillshade; //20 var layer_waterdepth_trackpoints_10m; // 21 var layer_waterdepth_contours; // 22 @@ -104,7 +106,7 @@ // layer keeps its number. The ArgParser compares the // count of layers with the layers argument length. So we // have to let him know, how many layers are removed. - var ignoredLayers = 2; + var ignoredLayers = 4; // Select controls var selectControl;