how to add gyroscope/compass to cesium viewer? and how to print PDFs or take screenshots?

Hi everyone,

I’ve noticed on two seperate cesium-based applications a gyroscope is used, similar to Google Earth, to help users orient themselves. Where does this come from? How could I add it to my own application?

Two examples: http://www.3dcitydb.org/3dcitydb-web-map/0.98/3dwebclient/index.html, http://ksaviationportal.ksdot.org/aviationportal/cesium.html

Also, both of these apps give the option for the user to take a nice screenshot or print a PDF. How is that done?

I’ve done some research on both topics and they don’t seem to be too easy to do… so I thought I’d ask here.

Thanks!

Nathan

Screen Shot 2016-12-26 at 8.02.54 PM.png

Nathan,

There is a compass, distance scale and navigation controls here:

demo:

http://larcius.github.io/cesium-navigation/

Alberto

wow, that is nice! and easy to setup. thanks!