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!

Re: Flight route across International Date Line disappears partially

Hi.

This is a bug in Online Maps v3 and v4 when drawing on a texture.
Thank you for reporting it.
I will definitely fix it, but it part of codebase has a pretty complex math, and I will need some time to work on it.
I will get back to you when the problem is fixed.

P.S. OnlineMapsDrawingLine is from v3. In v4, the classes have different names.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Flight route across International Date Line disappears partially

The problem has been fixed. A new version will be released soon, most likely next week.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.