Skip to content

Commit

Permalink
fix broken permalink behaviour
Browse files Browse the repository at this point in the history
  set ignoredLayers to 4 and added missing outcommented layers for documentation
  • Loading branch information
OpenDEM authored Dec 8, 2022
1 parent 99d3085 commit a87b354
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,16 @@
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

// To not change the permalink layer order, every removed
// 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;
Expand Down

0 comments on commit a87b354

Please sign in to comment.