vertical polyline cannot be explored

It disappears just because the camera moves too fast with any click. Try setting the first point’s height to 0 to see that it doesn’t disappear.

Another thing you can do is set the camera’s reference frame to be on the line so you never lose it:

var center = Cesium.Cartesian3.fromDegrees(-75, 45, 500050);

var transform = Cesium.Transforms.eastNorthUpToFixedFrame(center);

viewer.scene.camera.lookAtTransform(transform, new Cesium.HeadingPitchRange(0, -Math.PI/4, 200));

``

Here’s a Sandcastle link to the camera orbitting this line.

To reset the transform you can then do:

viewer.scene.camera.lookAtTransform(Cesium.Matrix4.IDENTITY)

``

1 Like