Gallery

71 figures · Open a figure to explore its code.

layout (11)

geometry (10)

plotting (16)

maps (9)

networks (6)

text (5)

math (12)

api (2)

(map_routes)

Map routes

The Arrow receives 81 longitude/latitude samples for an illustrative route from Lisbon to Athens. GeoMap projects those {lon, lat} records with the same fitted view as the geography. Points and direct-child Text anchors use the same coordinate context, so no separate pixel projection is necessary.

The route is a deliberately chosen curve in longitude/latitude, not a calculated great-circle or travel itinerary. Elements own their geometry: a two-point Arrow would draw a straight segment between its projected endpoints. Supply enough samples for the desired curve, and split routes at projection seams as needed. See Projections for the core contract and a polar Graph example.