1. A concise
explanation of the problem you’re experiencing.
We are using
GroundPolylinePrimitives and scene.groundPrimitves to render underground
utility lines on the surface. Works
great however when we view lines horizontally from the side we see dashed
lines.
2. A minimal code
example. If you’ve found a bug, this helps us reproduce and repair it.
var undergroundPolyline = new Cesium.GeometryInstance({
geometry: new Cesium.GroundPolylineGeometry({
positions: underground,
width: 3.0
}),
attributes: {
color: Cesium.ColorGeometryInstanceAttribute.fromColor(Cesium.Color.LIGHTBLUE)
}
}); undergroundGeometry.add(new Cesium.GroundPolylinePrimitive({
geometryInstances: undergroundPolyline,
appearance: new Cesium.PolylineColorAppearance()
}));
3. Context. Why do you
need to do this? We might know a better way to accomplish your goal.
We were displaying
underground utilities lines a few feet off the surface but would get tunneling occasionally
on hilly areas. The groundPrimitives
work great to solve this issue. Plus
they just look better.
4. The Cesium version
you’re using, your operating system and browser.
Cesium 1.48, which we
use within mainly Chrome on MAC High Sierra 10.13.6