Open OmarShehata opened 5 years ago
Another issue here is that the 3D Tiles inspector is really valuable when exploring 3D Tiles, but there's no good way to show both the "Cesium Inspector" and the "3D Tiles" inspector together.
Change the query parameters to hash parameters. This will allow us to use the URL to update the state of the app without having to refresh. This is cool because it lets you bookmark views or share/change views without having to reload everything.
This is not needed this days. google .pushState
The Cesium Viewer app is a pretty awesome example of what you can do with a few bells and whistles in CesiumJS, but it's also pretty useful as a standalone app in itself. For example, you can find any view of any data on the Earth and save and share that just by sharing the link.
We can do a few more small things that I think will have a big impact in making it easier to work with 3D Tiles.
camera.setView
tocamera.flyTo
after the first load.token
parameter that takes an ion token.id
parameter that takes an array of ion asset IDs.With just this, you could upload some massive data to ion, have a link like the "open in Sandcastle" except open it in the viewer app, and you'd instantly have a published viewer app you can actually use yourself for any analysis, embed on your website, share with collaborators etc.
You could also use this to pretty easily view multiple tilesets in the same view, or easily compare the same view in two different tilesets by swapping out the
id
.One more thing that would be incredibly useful is:
This is all prototyped in this Glitch app:
https://glitch.com/edit/#!/cesium-viewer?path=README.md:1:0