diff --git a/satviz/scripts/visualize_constellation.py b/satviz/scripts/visualize_constellation.py index a0cc439a9..95a4cfd28 100644 --- a/satviz/scripts/visualize_constellation.py +++ b/satviz/scripts/visualize_constellation.py @@ -176,11 +176,11 @@ # General files needed to generate visualizations; Do not change for different simulations -topFile = "../static_html/top.html" -bottomFile = "../static_html/bottom.html" +topFile = "static_html/top.html" +bottomFile = "static_html/bottom.html" # Output directory for creating visualization html files -OUT_DIR = "../viz_output/" +OUT_DIR = "viz_output/" # JSON_NAME = NAME+"_5shell.json" # OUT_JSON_FILE = OUT_DIR + JSON_NAME OUT_HTML_FILE = OUT_DIR + NAME + ".html" @@ -248,5 +248,6 @@ def write_viz_files(): writer_html.close() -viz_string = generate_satelite_trajectories() -write_viz_files() \ No newline at end of file +viz_string = generate_satellite_trajectories() +write_viz_files() + diff --git a/satviz/static_html/top.html b/satviz/static_html/top.html index fa2aa844b..8bd0950c3 100644 --- a/satviz/static_html/top.html +++ b/satviz/static_html/top.html @@ -1,8 +1,8 @@
- - + + @@ -38,13 +38,17 @@ globe.imageryLayers.removeAll(); globe.baseColor = Cesium.Color.fromCssColorString('#f7fbff'); +// var tonerLayer = globe.imageryLayers.addImageryProvider( +// Cesium.createOpenStreetMapImageryProvider({ +// url : 'https://stamen-tiles.a.ssl.fastly.net/toner-background/', +// credit : 'Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.' +// }) +// ); var tonerLayer = globe.imageryLayers.addImageryProvider( - Cesium.createOpenStreetMapImageryProvider({ - url : 'https://stamen-tiles.a.ssl.fastly.net/toner-background/', - credit : 'Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under CC BY SA.' + new Cesium.OpenStreetMapImageryProvider({ + url : 'https://a.tile.openstreetmap.org/' }) ); tonerLayer.alpha = 0.3; tonerLayer.brightness = 3; tonerLayer.contrast = 0.7; -