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