The polyline created by Cesium have some issues at the corners.

If the polyline is not segmented, it will become thinner at the corners; however, this issue does not occur if the polyline is segmented.

That’s probably another instance of `Polyline*MaterialProperty` width issue · Issue #12506 · CesiumGS/cesium · GitHub . (The width may vary at the corners, for acute angles, but this issue made the effect much more severe).

A comparison of 1.125 and 1.128 of the given sandcastle:

Cesium Polyline issue

If not, then it’s another instance of Outlines degenerate on certain (view) angles · Issue #11556 · CesiumGS/cesium · GitHub

There was a fix/rollback for the other issue, at Revert #12434, fix issue with polyline material width by ggetz · Pull Request #12593 · CesiumGS/cesium · GitHub . It might be worth trying that out (and if it’s not fixed by that, then the underlying issue might be another one)

1 Like