A basic Akka websocket server is using the ScalaCZML library to send a CZML document to a Cesium client, which then displays the result on the globe.
Download and unzip this repository.
Install Cesium and look at the getting started tutorial to setup the web Node server, typically in a terminal in the Cesium directory:
node server.js
This will run the local web server for Cesium.
Put the file CzmlClient.html in the Cesium "Apps" directory.
In another terminal navigate to the downloaded "czmlServer-master" directory and type:
sbt run
This will run the Akka websocket server that will send the CZML document to the "CzmlClient.html" for display.
Once the server is up and running, you should see at the terminal:
Akka server online at ws://localhost:3210/
press RETURN to stop the server...
Do not press RETURN yet.
Point your browser to "http://localhost:8080/Apps/CzmlClient.html" and the globe should be visible. Rotate the globe to Australia and you should see a TV test pattern image and a text label near Sydney.
In summary.
in the "Cesium-x.xx" directory
node server.js
in the "czmlServer-master" directory
sbt run
point your browser to http://localhost:8080/Apps/CzmlClient.html
go to Sydney Australia
Cesium, SBT, Node.js and ScalaCZML.
See also the build.sbt file.