Question about clampToHeightMostDetailed

1. A concise explanation of the problem you're experiencing.

Open the example below, Click sample height button,and have a error,
TypeError: Cannot read property 'updaters' of undefined
TypeError: Cannot read property 'updaters' of undefined

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

this is a example

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

i want to zoom to the entity

4. The Cesium version you're using, your operating system and browser.

Thanks for reporting this! Looks like it’s a bug. I’ve opened a report for it here:

For now, a workaround is to simply wrap it in a setTimout call:



}, 100);


Sandcastle url.

The issue was fixed and will be in Cesium 1.57.