Geo
A geographic pane on the scene's canvas. Its body holds overlays — region boundaries from a built-in pack, a choropleth joined from a @data dataset, markers, great-circle arcs — and the parameters that drive them. The frame is a camera: centre (latitude first) and zoom (doubling levels; 1 fits the world's width), both animatable with !cue.to, which is the fly-to. Boundary geometry ships with the library; nothing is fetched from a tile server.
#Attributes
projection
Default
centre
Web-map doubling levels: 1 fits the world's width, each level halves the span. Animatable with !cue.to, and parametised — zoom: z rides a slider.
Default
Let the reader explore: scroll to zoom about the cursor, drag to pan, double-click to reset — and zoom / reset controls appear in the toolbar. Exploration stays on the pane's subject: the zoom floor is the frame that fits its packs, markers and arcs, and panning cannot leave them behind. The explored camera overrides the authored one for the session.
Default
#Allowed content
#Allowed in
#Examples
canvas.geo#world{
region(in: world)
}(projection: equal-earth; show-graticule: true)canvas.geo#tour{
region(in: world)
}(
centre: 20, 0 !cue.to{50.5, 15}(at: 1; over: 900ms)
zoom: 1 !cue.to{4}(at: 1; over: 900ms)
)canvas.geo#space{
region(in: world)
arc(from: 51.47, -0.46; to: 35.55, 139.78)
}(projection: globe; centre: 69.1, 89.8; interactive)#Notes
- A pane's own id is written on the node —
canvas.geo#europe{…}— andcontinue:points at it with#europe. - Cues wrap overlays exactly as they wrap graph marks;
cue.drawtraces an arc along its length. - The cursor's place — and the region under it — floats in the corner of the pane.