1. A concise explanation of the problem you're experiencing.
I am uploading a czml file that includes 2 satellites i am trying to zoom to the satellites in orbit when the file is uploaded.
2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
I have attached my czml file and my HTML file.
i tried using :
viewer.zoomTo(dataSource.entities.getById('SAT1'));
but i see no change also i used this function that i found in examples:
dataSourcePromise.then(function(dataSource){
viewer.trackedEntity = dataSource.entities.getById('SAT1');
}).otherwise(function(error){
window.alert(error);
});
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
as of right now im just trying to zoom to 1 satellite but i would like to be able to view both satellites together and how they move around each other in one view.
4. The Cesium version you're using, your operating system and browser.
I am using the most current version of cesium and google chrome is my browser
Feb26-Test.czml (142 KB)
index3.html (2.77 KB)