It looks our map don't support set WrappingMode for TrackOverlay. And here is a really simple smaple, it render the RectangleShape(-180, 90, 180, -90) and a line cross wrapdate line.
It looks the line render correct both in left part and right part.
I think maybe your description missed some parameters, could you please modify the sample to reproduce your issue so we can look into it to see where is the problem?
9491.zip (10.5 KB)