Cesium version b15 is now available for download.

Highlights for this release include:

  • A new function, sampleTerrain, which returns terrain heights for a provided list of Cartographic positions.
  • Handling of the new CZML delete property and a corresponding DynamicObjectCollection.removeObject function.
  • Three new widgets written purely in CSS, HTML, and JavaScript. Unlike some of our past widgets, they don’t require Dojo and are also available in the combined and minified Cesium.js. We’ve also updated CesiumViewerWidget to use them.
    • SceneModePicker - Easily morph between 2D, 3D, and Columbus View.
    • BaseLayerPicker - Allows the user to choose the base imagery layer from a developer-defined set of imagery providers.
    • CesiumWidget - The new base widget for building Cesium applications; it allows you to quickly add Cesium to any page in one line of code.

The new widgets in action.

  • Perhaps the biggest news for this release is new packaging. By popular demand, we now offer two separate zip files.
    • Cesium-b15.zip - If you like traditional, non-AMD web development, this is the file for you. Nine times smaller than the full package and clocking in at a svelte 7 MB, this new package only includes the minified Cesium.js, required assets and Web Workers, and the complete documentation. The only sample program is a new Hello World, which is so small that I’ve included it below.
    • Cesium-full-b15.zip - This is identical to the old packaging. It contains the full Cesium source, both the combined and minified versions of Cesium.js, all required assets and Web Workers, applications such as Sandcastle and Cesium Viewer, Dojo widgets, and unit tests. If you want a full snapshot of the Cesium release, or are using AMD, this is the file you want.

<!DOCTYPE html>
<html lang="en">
<head>
<title>Hello World!</title>
<script type="text/javascript" src="Cesium/Cesium.js"></script>
<style>
@import url(Cesium/Widgets/CesiumWidget/CesiumWidget.css);
body {
padding: 0;
margin: 0;
overflow: hidden;
}
</style>
</head>
<body>
<div id="cesiumContainer"></div>
<script>
var cesiumWidget = new Cesium.CesiumWidget('cesiumContainer');
</script>
</body>
</html>

For a full list of changes, see the change log.