Skip to content

Commit 8aa8799

Browse files
removed Cloud overlay as it's deprecated
1 parent 133d59a commit 8aa8799

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

index.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,6 @@ <h4>Overlays</h4>
170170
<input type="checkbox" id="opt_layers_aprs">
171171
</div>
172172
</div>
173-
<div class="row option">
174-
<span><b>Cloud layer</b></span>
175-
<div class="switch off" id="sw_layers_clouds">
176-
<span class="thumb"></span>
177-
<input type="checkbox" id="opt_layers_clouds">
178-
</div>
179-
</div>
180173
<h4>Other</h4>
181174
<hr/>
182175
<div class="row option">

js/app.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,6 @@ $(window).ready(function() {
769769

770770
// list of all switches
771771
var opts = [
772-
"#sw_layers_clouds",
773772
"#sw_layers_aprs",
774773
"#sw_offline",
775774
"#sw_station",
@@ -843,10 +842,6 @@ $(window).ready(function() {
843842
if(on) map.overlayMapTypes.setAt("1", overlayAPRS);
844843
else map.overlayMapTypes.setAt("1", null);
845844
break;
846-
case "opt_layers_clouds":
847-
if(on) { layers_clouds.setMap(map); }
848-
else { layers_clouds.setMap(null); }
849-
break;
850845
case "opt_interpolate":
851846
if(on) { graph_gap_size = graph_gap_size_max; }
852847
else { graph_gap_size = graph_gap_size_default; }

js/tracker.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,10 +518,6 @@ function load() {
518518

519519
}, 500);
520520

521-
// initialize clouds layer
522-
layers_clouds = new google.maps.weather.CloudLayer();
523-
if(offline.get('opt_layers_clouds')) layers_clouds.setMap(map);
524-
525521
// load if aprs layer, if selected
526522
if(offline.get('opt_layers_aprs')) map.overlayMapTypes.setAt("1", overlayAPRS);
527523
}

0 commit comments

Comments
 (0)