Groups
Sign in
Groups
cesium-dev
Conversations
Labels
About
Send feedback
Help
How to customize the UI
360 views
code-help
Skip to first unread message
daniel...@gmail.com
unread,
Aug 31, 2019, 9:19:12 AM
8/31/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
9/3/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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:
https://cesium.com/docs/tutorials/cesium-workshop/#creating-the-viewer
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:
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Widgets/Animation/AnimationViewModel.js
And its corresponding styling:
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Widgets/Animation/Animation.css
Reply all
Reply to author
Forward
0 new messages