1.47 update request

I’m digging in to v1.47 and polylines with clampToGround. Thank you, thank you, thank you!

Documentation with 1.47 in Cesium-1.47.zip /cesium/build/documentation/KmlDataSource.html needs an update to this text in the Description of clampToGround for 2 Load methods:

" If true, lines will use corridors so use Entity.corridor instead of Entity.polyline."

My apologies, I can’t update the documentation for the community, too much to-do rewriting my own code, with the long-awaited clampToGround option, replacing corridor geometry.

cesium/Apps/Sandcastle/index.html from Cesium-1.47.zip has that great tab from last month, “New in 1.46”, but not a “1.47” tab

https://github.com/AnalyticalGraphicsInc/cesium/pull/6717 has 2 great use case examples from Hannah of polygon.height & polygon.extrudedHeight, and corridor.height, using GeometryHeightProperty with CLAMP_TO_GROUND and RELATIVE_TO_GROUND

The on-line Sandcastle has the “New in 1.47” tab.

Cesium-1.47.zip includes the sample in the gallery folder, but it is not listed in Sandcastle’s “All” tab,

and running this on localhost fails: cesium/Apps/Sandcastle/index.html?src=Geometry%20Height%20Reference.html

postMessage failed with error: DataCloneError: Failed to execute ‘postMessage’ on ‘DedicatedWorkerGlobalScope’: function(onFulfilled) {
// TODO: Promises/A+ check typeof onFulfilled
try {
return resolve(onFulfi…… } could not be cloned.
Error: Failed to execute ‘postMessage’ on ‘DedicatedWorkerGlobalScope’: function(onFulfilled) {
// TODO: Promises/A+ check typeof onFulfilled
try {
return resolve(onFulfi…… } could not be cloned.
at http://127.0.0.1:4001/cesium/Source/Workers/createTaskProcessorWorker.js:78:17
with responseMessage: {“id”:0}

I’m not whining or looking for help, just reporting what I’ve run into in my first hour with Cesium-1.47.zip.

I love the on-line Sandcastle sample of Drawing on Terrain!

Thanks for clamping polylines to terrain!

-Jon

Drawing on Terrain!
Great work by @Omar

We’re really excited fro these features and glad you are too!

Thanks for pointing that out! I’ve opened a PR to update the docs: https://github.com/AnalyticalGraphicsInc/cesium/pull/6774

As for the missing Sandcastle example, if I pull from master and run the development server, I see the example. In the meantime, if you’d want to run this locally, I’d suggestion you do the same. It sounds like it was a packaging issue with the files in the zip.

Thanks again,

Gabby

Documentation should now be updated! Thanks again for the heads up Left Gully!

Hi Jon,

I’m not seeing the same Sandcastle problems in a freshly grabbed Cesium-1.47 zip, would you mind re-downloading and trying again?

Thanks!
Gary

You might also need to clear your browser cache, these problems kind of look like what would happen if the browser mixed cached 1.46 files and the new stuff from 1.47.