1. A concise explanation of the problem you’re experiencing.
Hi, I want to drape polyline on exaggerated terrain surface.
But when I zoom in near polyline, polyline entity is disappeared
When terrainExaggeration is 1, it is not disappeared.
terrainExaggeration=1 capture:
https://drive.google.com/open?id=19vMelGaQw2i6QEnAW5k0YYqfqj-OQi5F
terrainExaggeration=2 capture:
https://drive.google.com/open?id=1HUR8o3fqJx77RLNfMEf-jEGUsy0ELYfA
Any help would be appreciated.
Thank you.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
This is full sandcastle code.
var viewer = new Cesium.Viewer(‘cesiumContainer’, {
terrainProvider: Cesium.createWorldTerrain(),
terrainExaggeration: 2,
});
var cartographics = [-93.9984, 41.4841,-93.7984, 41.6841];
viewer.entities.add({
polyline : {
positions : Cesium.Cartesian3.fromDegreesArray(cartographics),
width : 4.0,
material : Cesium.Color.RED,
clampToGround : true
}
});
viewer.zoomTo(viewer.entities);
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I want to drape polyline on exaggerated terrain surface.
4. The Cesium version you’re using, your operating system and browser.
Version 78.0.3904.108 (Official Build) (64-bit), Windows 10. Google Chrome