Hi,
the following code can be run in the Cesium Sandcastle to render a vertical polyline.
But when panning or zooming the map, the polyline disappears. Could this be a bug?
var viewer = new Cesium.Viewer('cesiumContainer');
var dashedLine = viewer.entities.add({
name : 'Blue dashed line',
polyline : {
positions : Cesium.Cartesian3.fromDegreesArrayHeights([-75, 45, 500000,
-75, 45, 500100]),
width : 4,
material : new Cesium.PolylineDashMaterialProperty({
color: Cesium.Color.CYAN
})
}
});
viewer.zoomTo(viewer.entities);
Zhihang