You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this issue affects any of these threads, please post a comment like the following:
The issue at #8007 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.
This came up on the forum. If you try calling
sampleTerrainMostDetailed
on anArcGISTiledElevationTerrainProvider
it complains that:Sandcastle link.
But you can see that it does compute an availability here: https://github.com/AnalyticalGraphicsInc/cesium/blob/3601fc73247ab3526c4f18be38ccc8c1860a541b/Source/Core/ArcGISTiledElevationTerrainProvider.js#L158 It just doesn't seem to expose it as a property.
If I just throw a
.availability
property, the call works but the returned height is undefined. I traced this to terrainData.interpolateHeight returning undefined here: https://github.com/AnalyticalGraphicsInc/cesium/blob/3601fc73247ab3526c4f18be38ccc8c1860a541b/Source/Core/sampleTerrain.js#L107 Everything that's passed in looks fine, so I'm not sure why it's undefined (and it correctly figured out that the max level at this point is 16).@tfili
The text was updated successfully, but these errors were encountered: