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

Add function to turn on altitude chart (#227) and disable range rings via URL parameters #235

Closed
wants to merge 2 commits into from
Closed
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
Next Next commit
Add function to turn on the altitude chart via a URL parameter (#227)
  • Loading branch information
mpentler committed Mar 24, 2023
commit bb3d9c2d846c1564a60f9dfcf9303a140bafce84
4 changes: 4 additions & 0 deletions html/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -4566,6 +4566,10 @@ function invertMap(evt){
init: (onMobile ? false : true),
setState: altitudeChart.render
});

if (usp.has('altitudeChart')) {
toggles['altitudeChart'].toggle(true, 'init');
}
}

return TAR;
Expand Down