Polyline width doesn't work properly



The inconsistency in width of the polyline is caused by the sharp turns. To fix it, you can change the point position so that the turns are less sharp, for example.

 cartographicDegrees: [44.264969, 34.835854, 0, 32.164949 ,37.913873 , 0, 37.617014, 40.458882, 0,36.694637, 41.815041, 0],

They are unfortunately not the same geometries, difference between points makes more than 100 km difference. If you consider it as borders of some farm or country this difference is too much to omit. It doesn’t resolve the issue. I am not so into webgl vertex shaders but I believe resolution can be at cesium side at the point which calculates triangulation of line at intersection of 2 lines. Cesium seems to be forcing to linewidth at all points which creates exampled anomaly. In real life cases you cannot ignore more than cms of errors.

Solution can be like in these blogs, they don’t force intersections to be at same width:

Thank you for pointing this out and for the detailed explanation. You can record this issue in the CesiumJS github repository! https://github.com/CesiumGS/cesium/issues

Yeah, have been doing it but they say you need to write issues to community forum. As a group, could you make up your minds and decide on where to write the issues? Check recent responses on cesium github from mr. amatoromo and omar something please. Seems like they don’t want to see bug reports in github repo.

Can you follow up with the link to the issue that you wrote on the CesiumJS repo? I can’t seem to find it.