How is a polyline specified in czml before the materials property was implemented?

I am trying to render a polyline with cesium version b28 using the following czml:

{
    "id": "test-5",
    "polyline": {
        "positions": {
            "cartographicDegrees": [
                173,
                44,
                0,
                173.5,
                44.5,
                0,
                174,
                44,
                0
            ]
        },
        "width": 7,
        "color": {
            "rgba": [
                255,
                42,
                0,
                255
            ]
        }
    }
}

There are no errors reported, but the polyline is not visible. Is this how polylines were specified before the the materials property was used in later versions?

Thank you for your help.

In b28, “positions” was at the top-level and was called vertexPositions. This one works.

{

"id": "test-5",

“vertexPositions”: {

“cartographicDegrees”: [

173,

44,

0,

173.5,

44.5,

0,

174,

44,

0

]

},

"polyline": {

    "width": 7,

    "color": {

        "rgba": [

            255,

            42,

            0,

            255

        ]

    }

}

}

Thanks Matthew, that worked. What is the equivalent of 'availability' attribute for polylines in b28? Is it the 'interval' attribute? is this czml good?

    {
        "id": "s2",
        "vertexPositions": {
            "cartographicDegrees": [
                174,
                45,
                0,
                174.5,
                45.5,
                0,
                175,
                45,
                0
            ]
        },
        "polyline": {
            "interval": "2015-01-14T19:34:13.787Z/2015-01-16T19:39:58.503Z",
            "width": 7,
            "color": {
                "rgba": [
                    255,
                    42,
                    0,
                    255
                ]
            }
        }
    }

Might there be a b28 schema available on line by any chance?

thank you,

You could look at the history of the wiki, or sync backwards on time on the czml-writer github repository. Otherwise; looking at CzmlDataSource.js for b28 might be your best bet: https://github.com/AnalyticalGraphicsInc/cesium/blob/b28/Source/DynamicScene/CzmlDataSource.js

That being said, and even though you mentioned you were stuck on it, I strongly recommend you do everything in your power to move to the latest version. b28 is completely unsupported and you’ll undoubtedly run into issues.

“availability” at the top level of the packet is the correct way to specify it for an object as a whole.