Skip to content

Commit

Permalink
hide graticule layer by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiri Richter committed Mar 3, 2024
1 parent fbc5f9a commit 19d7946
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build/css/wrf-domain-wizard.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="stylesheet" href="/lib/leaflet.css" />
<link rel="stylesheet" href="/lib/all.min.css" />
<link rel="stylesheet" href="/lib/leaflet-sidebar.min.css" />
<link rel="stylesheet" href="/css/wrf-domain-wizard.css?1708353046270" />
<link rel="stylesheet" href="/css/wrf-domain-wizard.css?1709466813613" />

<link rel="icon" href="/img/globe_32x32.png" />
</head>
Expand Down
6 changes: 3 additions & 3 deletions build/js/wrf-domain-wizard.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/js/wrf-domain-wizard.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/js/wrf-domain-wizard.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/js/wrf-domain-wizard.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="stylesheet" href="build/lib/leaflet.css" />
<link rel="stylesheet" href="build/lib/all.min.css" />
<link rel="stylesheet" href="build/lib/leaflet-sidebar.min.css" />
<link rel="stylesheet" href="build/css/wrf-domain-wizard.css?1708353046270" />
<link rel="stylesheet" href="build/css/wrf-domain-wizard.css?1709466813613" />

<link rel="icon" href="build/img/globe_32x32.png" />
</head>
Expand Down
6 changes: 3 additions & 3 deletions src/js/domain-wizard.sidebar.settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ export var SidebarSettings = L.Class.extend({
_localStorageKey: '_wrf_domain_wizard_settings',

_defaultOptions: {
jsonBaseUrl: 'json',
geographicLinesGeoJson: 'ne_110m_geographic_lines.json',
jsonBaseUrl: 'json'
},

_settings: {
showGraticule: {
id: 'showGraticule',
value: true,
value: false,
dataType: 'boolean'
},
showGeographicLines : {
Expand Down Expand Up @@ -70,6 +69,7 @@ export var SidebarSettings = L.Class.extend({
}

const self = this;
this._settings['showGraticule'].value = false;

this._controls['showGraticule'].addEventListener('click', (e) => {
self.showGraticule(e.currentTarget.checked);
Expand Down

0 comments on commit 19d7946

Please sign in to comment.