Commit de7f5c5d by Corey Koval

Switch zoom to TX instead of RX

parent 0cd3b6c4
...@@ -233,16 +233,13 @@ ...@@ -233,16 +233,13 @@
let spinner = document.getElementById("loader"); let spinner = document.getElementById("loader");
spinner.style.visibility = "visible"; spinner.style.visibility = "visible";
spinner.style.zIndex = "10"; spinner.style.zIndex = "10";
// transmittersDataSource.load('/output.czml'); let promise1 = transmittersDataSource.load('/output.czml');
// viewer.dataSources.add(transmittersDataSource);
// return transmittersDataSource;
let promise1 = Cesium.CzmlDataSource.load('/output.czml');
Cesium.when(promise1, function(dataSource1){ Cesium.when(promise1, function(dataSource1){
viewer.dataSources.add(dataSource1);
spinner.style.visibility = "hidden"; spinner.style.visibility = "hidden";
spinner.style.zIndex = "0"; spinner.style.zIndex = "0";
return dataSource1;
}); });
viewer.dataSources.add(transmittersDataSource);
return transmittersDataSource;
} }
function loadRxCzml() { function loadRxCzml() {
...@@ -269,8 +266,8 @@ ...@@ -269,8 +266,8 @@
function loadAllCzml() { function loadAllCzml() {
loadAoiCzml(); loadAoiCzml();
loadTxCzml(); loadRxCzml();
return loadRxCzml(); return loadTxCzml();
} }
function clearOld() { function clearOld() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment