How to customize the UI

354 views
Skip to first unread message

daniel...@gmail.com

unread,
Aug 31, 2019, 9:19:12 AM8/31/19
to cesium-dev
Hello
I'd like to know if is possible to customize the default Cesium UI (the timeline, the top buttons, etc),
and how.
Many thanks


Omar Shehata

unread,
Sep 3, 2019, 10:18:30 AM9/3/19
to cesium-dev
You can turn off everything in the viewer widget and add your own UI elements instead, you can read a bit about that in the Cesium Workshop here:


Otherwise, you could modify the source for the HTML/CSS elements. Every widget should have a "ViewModel" class. For example, here's the animation widget's view model:


And its corresponding styling:

Reply all
Reply to author
Forward
0 new messages