Topic: Flight route across International Date Line disappears partially
Hey Alex,
I'm using Online Maps V4 in Unity to draw flight routes between airports. When drawing a route that crosses the International Date Line (e.g., Tokyo to San Francisco), I'm encountering rendering issues.
What I've tried:
I split the route into two separate OnlineMapsDrawingLine objects: one segment on the left side of the map and one on the right side to avoid the line wrapping around the globe incorrectly.
The problem:
When I pan/drag the map, only ONE of the two line segments is visible at a time:
Sometimes only the left segment appears, the right one disappears. Sometimes only the right segment appears, the left one disappears. They never show simultaneously.
It seems like the map only renders one line at a time during viewport updates.
Expected behavior:
Both line segments should remain visible simultaneously while panning, creating a continuous visual flight path across the Date Line.
Question:
Is there a known limitation with rendering multiple OnlineMapsDrawingLine objects across the ±180° longitude boundary? Or is there a specific method I should use to handle transpacific routes that cross the Date Line?
Any guidance would be greatly appreciated!