1. A concise explanation of the problem you’re experiencing.
Is there a way to go about viewing multiple KML files at once while the timespan scales to include all of the visible files like you can on Google Earth? Ideally I’d like to be able to show the entire DataSourceCollection at once. Searching here (and viewing countless SO question) I was able to find it’s possible load multiple CZML dataSources at the same time with Drag/Drop mixins, but haven’t found anything in the documentation, here or in the Sandcastle examples that even tells me if this is possible with KMLDataSource or not. I would like to start with loading more than one KML at a time and then worry about the time slider later (if it will even be an issue), but all of the examples in Sandcastle (KML, CZML and DataSources tabs) only show one dataSource at a time and the documentation proved unhelpful. Converting to CZML might be an option, but I would prefer to use raw KML.
Side question; are the individual folders and elements of KML accessible by the Cesium API? I’m also looking to create a Tree Table checkbox list as a toolbar similar to that which comes as your “Places” in Google Earth for toggling visibility.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
N/A I’ve modified and played around with the Sandcastle KML example to attempt this, but haven’t been able to find a solution. Adding to the DataSourceCollection is great…but how can I toggle/maintain visibility across different sources?
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
Our application has reached the functional plateau with Google Earth and we need something with an active and robust API that already handles the gx KML extension. We need to be able to display multiple KML files at the same time and view how the elements move across time in comparison to other KML elements. They must be separate KML files because we’re receiving them at different times from different sources ourselves. Combining into one large KMZ and refreshing should not really be an option as we want to update the view on the fly while maintaining temporal and positional data integrity as far as “active” (visible) KML elements.
Ideally we want the same functionality Google Earth offered with a powerful API for bi-directional interaction and communication along with a much more robust 3D framework. Hoping Cesium will fit.
4. The Cesium version you’re using, your operating system and browser.
CesiumJS 1.63.1, Windows 10 and Chrome, eventually will need to support Centos 7 and Firefox.
Thank you!