mirror of
https://github.com/bitbaum/geo-kit.git
synced 2026-12-04 05:30:23 +01:00
`@bitbaum/geo-kit/map`: an orthographic globe on Canvas 2D (d3-geo) which, zoomed in, is a flat map of the place in front of the reader, so the world and a commune are one projection and one renderer. Extracted from Substrata's globe (camera, motion, culling, picking, the fast projection, painting, input and frame loop), made country-neutral (features keyed by any id, fills by id, limits per map) and framework-free (`createMap` takes a canvas). Solon's commune map moves onto it from MapLibre, Substrata's globe after it. d3-geo and topojson-client are optional peer dependencies, needed by /map only. Claude-Session: https://claude.ai/code/session_019MDtmuxKPxNit33QRcXSCC Co-authored-by: Claude <noreply@anthropic.com>