Polyline Rendering issue

1. A concise explanation of the problem you're experiencing.

For some reason the polyline is connected in a different way to the way it is constructed.


    this.updateHistory = (function(position) {
        var positionCart = Cesium.Cartesian3.fromRadians(position.longitude, position.latitude, position.altitude_meters);

            position : positionCart,
            text : "P: "+this.debugLabelCount,
            pixelOffset: new Cesium.Cartesian2(10, 0),
            verticalOrigin: Cesium.VerticalOrigin.CENTER,
            /*distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0.0, 10.0e6),*/
            fillColor: Cesium.Color.WHITE,
            style: Cesium.LabelStyle.FILL_AND_OUTLINE,
            outlineWidth: 3.0,
            font: 'bold 9px sans-serif'

scene.preUpdate.addEventListener(function(scene, time) {
            map.positionQueue.forEach(function (pos, index)
            map.positionQueue = ;

I am using version 1.48 and Google Chrome.

Looks like your image didn’t upload. Can you try again? If it’s easier, recreating the example on Sandcastle (https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/) helps too.