geodesic lines: improve the handling for lines that extend beyond the antimeridian. no odd straight line segments
leaflet doesn't have particularly great handling for this, but this is a reasonable measure for now