Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set ignoredLayers to 4 and added missing outcommented layers for… #169

Merged
merged 2 commits into from
Dec 8, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you harmonize the indentation in this line?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge once the indentation is in-line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wschildbach Just fixed it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @OpenDEM , this is now fixed. @Nautic , FYI.

// 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