Cesium 1.20 release

Hi everyone,

We’re starting the 1.20 release. It will be out later today.

Dan

Cesium 1.20 is now available: http://cesiumjs.org/downloads.html

Dan

Hi, guys!

I’m unable to build 1.20. 'minifyRelease` now prepares only some images for widgets and textures. Is anything changed there? Below is how I do it:

ezze@ezze-laptop:~/Development/cesium-bower/cesium$ git checkout 1.20

Note: checking out ‘1.20’.

You are in ‘detached HEAD’ state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at e49fb89… Merge pull request #3798 from AnalyticalGraphicsInc/fix-ie-failures

ezze@ezze-laptop:~/Development/cesium-bower/cesium$ npm run clean

cesium@1.20.0 clean /home/ezze/Development/cesium-bower/cesium

gulp clean

[11:27:12] Using gulpfile ~/Development/cesium-bower/cesium/gulpfile.js

[11:27:12] Starting ‘clean’…

[11:27:12] Finished ‘clean’ after 82 ms

ezze@ezze-laptop:~/Development/cesium-bower/cesium$ npm run minifyRelease

cesium@1.20.0 minifyRelease /home/ezze/Development/cesium-bower/cesium

gulp minifyRelease

[11:27:18] Using gulpfile ~/Development/cesium-bower/cesium/gulpfile.js

[11:27:18] Starting ‘build’…

[11:27:19] Finished ‘build’ after 649 ms

[11:27:19] Starting ‘generateStubs’…

[11:27:19] Finished ‘generateStubs’ after 142 ms

[11:27:19] Starting ‘minifyRelease’…

Building Cesium.js

Building Source/Workers/cesiumWorkerBootstrapper.js

Building Source/Workers/transferTypedArrayTest.js

Building Source/ThirdParty/Workers/deflate.js

Building Source/ThirdParty/Workers/inflate.js

Finished Source/ThirdParty/Workers/deflate.js

Finished Source/Workers/transferTypedArrayTest.js

Finished Cesium.js

Finished Source/ThirdParty/Workers/inflate.js

Finished Source/Workers/cesiumWorkerBootstrapper.js

Building Source/Workers/combineGeometry.js

Building Source/Workers/createBoxGeometry.js

Building Source/Workers/createBoxOutlineGeometry.js

Building Source/Workers/createCircleGeometry.js

Finished Source/Workers/combineGeometry.js

Building Source/Workers/upsampleQuantizedTerrainMesh.js

Finished Source/Workers/createBoxGeometry.js

Building Source/Workers/createWallOutlineGeometry.js

Finished Source/Workers/createBoxOutlineGeometry.js

Building Source/Workers/createWallGeometry.js

Finished Source/Workers/createCircleGeometry.js

Building Source/Workers/createVerticesFromQuantizedTerrainMesh.js

Finished Source/Workers/upsampleQuantizedTerrainMesh.js

Building Source/Workers/createVerticesFromHeightmap.js

Finished Source/Workers/createWallGeometry.js

Building Source/Workers/createSphereOutlineGeometry.js

Finished Source/Workers/createWallOutlineGeometry.js

Building Source/Workers/createSphereGeometry.js

Finished Source/Workers/createVerticesFromQuantizedTerrainMesh.js

Building Source/Workers/createSimplePolylineGeometry.js

Finished Source/Workers/createVerticesFromHeightmap.js

Building Source/Workers/createRectangleOutlineGeometry.js

Finished Source/Workers/createSphereOutlineGeometry.js

Building Source/Workers/createRectangleGeometry.js

Finished Source/Workers/createSphereGeometry.js

Building Source/Workers/createPolylineVolumeOutlineGeometry.js

Finished Source/Workers/createSimplePolylineGeometry.js

Building Source/Workers/createPolylineVolumeGeometry.js

Finished Source/Workers/createRectangleOutlineGeometry.js

Building Source/Workers/createPolylineGeometry.js

Finished Source/Workers/createPolylineVolumeOutlineGeometry.js

Building Source/Workers/createPolygonOutlineGeometry.js

Finished Source/Workers/createRectangleGeometry.js

Building Source/Workers/createPolygonGeometry.js

Finished Source/Workers/createPolylineVolumeGeometry.js

Building Source/Workers/createPointGeometry.js

Finished Source/Workers/createPolylineGeometry.js

Building Source/Workers/createGeometry.js

Finished Source/Workers/createPolygonGeometry.js

Building Source/Workers/createEllipsoidOutlineGeometry.js

Finished Source/Workers/createPointGeometry.js

Building Source/Workers/createEllipsoidGeometry.js

Finished Source/Workers/createPolygonOutlineGeometry.js

Building Source/Workers/createEllipseOutlineGeometry.js

Finished Source/Workers/createGeometry.js

Building Source/Workers/createEllipseGeometry.js

Finished Source/Workers/createEllipsoidOutlineGeometry.js

Building Source/Workers/createCylinderOutlineGeometry.js

Finished Source/Workers/createEllipsoidGeometry.js

Building Source/Workers/createCylinderGeometry.js

Finished Source/Workers/createEllipseOutlineGeometry.js

Building Source/Workers/createCorridorOutlineGeometry.js

Finished Source/Workers/createEllipseGeometry.js

Building Source/Workers/createCorridorGeometry.js

Finished Source/Workers/createCylinderOutlineGeometry.js

Building Source/Workers/createCircleOutlineGeometry.js

Finished Source/Workers/createCylinderGeometry.js

Finished Source/Workers/createCorridorOutlineGeometry.js

Finished Source/Workers/createCorridorGeometry.js

Finished Source/Workers/createCircleOutlineGeometry.js

Building Source/Widgets/Animation/Animation.css

Building Source/Widgets/Animation/lighter.css

Building Source/Widgets/BaseLayerPicker/BaseLayerPicker.css

Building Source/Widgets/BaseLayerPicker/lighter.css

Finished Source/Widgets/Animation/Animation.css

Building Source/Widgets/widgets.css

Finished Source/Widgets/Animation/lighter.css

Building Source/Widgets/shared.css

Finished Source/Widgets/BaseLayerPicker/BaseLayerPicker.css

Building Source/Widgets/lighterShared.css

Finished Source/Widgets/BaseLayerPicker/lighter.css

Building Source/Widgets/lighter.css

Finished Source/Widgets/widgets.css

Building Source/Widgets/Viewer/Viewer.css

Finished Source/Widgets/shared.css

Building Source/Widgets/VRButton/VRButton.css

Finished Source/Widgets/lighterShared.css

Building Source/Widgets/Timeline/lighter.css

Finished Source/Widgets/lighter.css

Building Source/Widgets/Timeline/Timeline.css

Finished Source/Widgets/Viewer/Viewer.css

Building Source/Widgets/SelectionIndicator/SelectionIndicator.css

Finished Source/Widgets/Timeline/lighter.css

Building Source/Widgets/SceneModePicker/SceneModePicker.css

Finished Source/Widgets/VRButton/VRButton.css

Building Source/Widgets/PerformanceWatchdog/PerformanceWatchdog.css

Finished Source/Widgets/Timeline/Timeline.css

Building Source/Widgets/NavigationHelpButton/lighter.css

Finished Source/Widgets/SelectionIndicator/SelectionIndicator.css

Building Source/Widgets/NavigationHelpButton/NavigationHelpButton.css

Finished Source/Widgets/SceneModePicker/SceneModePicker.css

Building Source/Widgets/InfoBox/InfoBoxDescription.css

Finished Source/Widgets/PerformanceWatchdog/PerformanceWatchdog.css

Building Source/Widgets/InfoBox/InfoBox.css

Finished Source/Widgets/NavigationHelpButton/lighter.css

Building Source/Widgets/Geocoder/lighter.css

Finished Source/Widgets/InfoBox/InfoBoxDescription.css

Building Source/Widgets/Geocoder/Geocoder.css

Finished Source/Widgets/NavigationHelpButton/NavigationHelpButton.css

Building Source/Widgets/FullscreenButton/FullscreenButton.css

Finished Source/Widgets/InfoBox/InfoBox.css

Building Source/Widgets/CesiumWidget/lighter.css

Finished Source/Widgets/Geocoder/lighter.css

Building Source/Widgets/CesiumWidget/CesiumWidget.css

Finished Source/Widgets/FullscreenButton/FullscreenButton.css

Building Source/Widgets/CesiumInspector/CesiumInspector.css

Finished Source/Widgets/Geocoder/Geocoder.css

Finished Source/Widgets/CesiumWidget/lighter.css

Finished Source/Widgets/CesiumWidget/CesiumWidget.css

Finished Source/Widgets/CesiumInspector/CesiumInspector.css

[11:27:28] Finished ‘minifyRelease’ after 8.9 s

ezze@ezze-laptop:~/Development/cesium-bower/cesium$ ls ./Build/Cesium/

Assets Widgets

Hi!

I have some problems with “createTileMapServiceImageryProvider” after having replaced TileMapServiceImageryProvider.

This is the code:

var viewer = new Cesium.Viewer(‘cesiumContainer’ , {

imageryProvider : new Cesium.createTileMapServiceImageryProvider({

url : ‘//cesiumjs.org/tilesets/imagery/blackmarble

}),

baseLayerPicker : false,

navigationHelpButton : false,

clock : czml_clock,

globe : customGlobe,

vrButton : true

});

``

The result is in the picture attached.

If i use natural earth 2 i have also an error. See error2.jpg

Any suggestions?

Thanks,

Gianmaria

I was able to solve the issue with building by upgraing Node.js from 0.10 to 0.12.

I have no errors when I load Natural Earth. Probably, some other parameters for your Cesium Widget are wrong. See this as an example.

In my case imagery layer covers longitudes in [-Pi/2; Pi/2] only.

Seems that I use old Natural Earth cache so flipXY option set to true fixes the issue.

Hello Gianmaria,

What is your clock and custom globe?

Also, you need to use the flipXY setting for the black marble imagery. Here is an example:

var viewer = new Cesium.Viewer(‘cesiumContainer’, {
imageryProvider : Cesium.createTileMapServiceImageryProvider({
url : ‘https://cesiumjs.org/blackmarble’,
credit : ‘Black Marble imagery courtesy NASA Earth Observatory’,
flipXY : true // Only old gdal2tile.py generated tilesets need this flag.
}),
baseLayerPicker : false
});

``

Best,

Hannah

Hello,

I was unable to reproduce this issue. How are you adding the imagery?

Best,

Hannah

Thanks guys,

the flip solve the problem. Everything works!

Anyway here the code:

var czml_clock = new Cesium.Clock({

startTime : Cesium.currentTime,

currentTime : Cesium.currentTime,

clockRange : Cesium.ClockRange.LOOP_STOP,

clockStep : Cesium.ClockStep.SYSTEM_CLOCK_MULTIPLIER

});

var customGlobe = new Cesium.Globe();

var viewer = new Cesium.Viewer(‘cesiumContainer’ , {

imageryProvider : new Cesium.createTileMapServiceImageryProvider({

url : ‘//cesiumjs.org/tilesets/imagery/naturalearthii’,

flipXY : true

}),

baseLayerPicker : false,

navigationHelpButton : false,

clock : czml_clock,

globe : customGlobe,

vrButton : true

});

``