From 3e3eb22023095560aa63c06fde0bf35485ef9fbf Mon Sep 17 00:00:00 2001 From: OpenDEM Date: Sat, 3 Dec 2022 15:43:37 +0100 Subject: [PATCH 1/2] fix: 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 d9c5f2c..729a399 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; From 197d92ba8c9ace88bcf7779946feb2b3bfa5dff9 Mon Sep 17 00:00:00 2001 From: OpenDEM Date: Thu, 8 Dec 2022 15:29:50 +0100 Subject: [PATCH 2/2] fix: indentation in-line --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 729a399..180835e 100644 --- a/index.php +++ b/index.php @@ -97,7 +97,7 @@ var layer_tidalscale; // 16 var layer_permalink; // 17 var layer_waterdepth_trackpoints_100m; // 18 - // var layer_elevation_profile_contours; // 19 + // var layer_elevation_profile_contours; // 19 // var layer_elevation_profile_hillshade; //20 var layer_waterdepth_trackpoints_10m; // 21 var layer_waterdepth_contours; // 22