File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ <h4>Overlays</h4>
210210 < h4 > Other</ h4 >
211211 < hr />
212212 < div class ="row option ">
213- < span > < b > Show Launch Sites</ b > </ span >
213+ < span > < b > Hide Launch Sites</ b > </ span >
214214 < div class ="switch off " id ="sw_layers_launches ">
215215 < span class ="thumb "> </ span >
216216 < input type ="checkbox " id ="opt_layers_launches ">
Original file line number Diff line number Diff line change @@ -844,9 +844,9 @@ $(window).ready(function() {
844844 case "opt_layers_launches" :
845845 showLaunchSites ( ) ;
846846 if ( on ) {
847- map . addLayer ( launches ) ;
848- } else {
849847 map . removeLayer ( launches ) ;
848+ } else {
849+ map . addLayer ( launches ) ;
850850 }
851851 break ;
852852 case "opt_interpolate" :
Original file line number Diff line number Diff line change @@ -513,7 +513,8 @@ function load() {
513513 map . addLayer ( nite ) ;
514514 }
515515
516- if ( offline . get ( "opt_layers_launches" ) ) {
516+
517+ if ( ! offline . get ( "opt_layers_launches" ) ) {
517518 showLaunchSites ( ) ;
518519 map . addLayer ( launches ) ;
519520 }
@@ -2095,7 +2096,7 @@ function mapInfoBox_handle_prediction(event) {
20952096 formatDate ( new Date ( parseInt ( data . time ) * 1000 ) , true ) + "\n\n" +
20962097 "<b>Altitude:</b> " + altitude + "\n" +
20972098 "<b>Latitude:</b> " + data . lat + "\n" +
2098- "<b>Longtitude :</b> " + data . lon + "\n" +
2099+ "<b>Longitude :</b> " + data . lon + "\n" +
20992100 "</pre>"
21002101 ) ;
21012102 mapInfoBox . setLatLng ( event . latlng ) ;
You can’t perform that action at this time.
0 commit comments