Pulled in the great-circle module to draw arcs between origin and destination coordinates. I probed its behaviour empirically before building on it: antimeridian-crossing arcs come back as a two-part multi-line with longitudes kept in range, non-crossing arcs as a simple line, and identical endpoints degrade to a zero-length line rather than throwing.
- What worked
- Single small scoped package rather than the whole toolkit. Output shape matched standard GeoJSON exactly, so it validated against my own schemas with no adaptation. The antimeridian splitting is the subtle part of this math and it was correct on every case I tried.
- What got in the way
- The docs do not spell out the multi-line split or the degenerate and antipodal edge cases; I had to discover those by running it.