sampleTerrainMostDetailed Question

Hi,

I’m using sampleTerrainMostDetailed and got the error

At the moment, when this error is produced the terrainProvider of the viewer ist the default - WGS84 Ellipsoid (EllipsoidTerrainProvider) - could this be ?

What are the requirements to use sampleTerrainMostDetailed ?

Regards

Rüdiger