LazyMapLayers — Product and Build Plan#
LazyMapLayers is a free, open-source (MIT) map design and map animation extension for Adobe After Effects. Part of Raisul Sohan's Lazy suite. It is a free alternative to paid map plugins such as GEOlayers 3, and it aims to make every final output better than theirs.
Everything here is written from scratch. We learn from how existing tools behave for their users, never from their code.
Status board: see the end of this file.
1. Ground rules#
- Free forever. No accounts, keys, trials, licensing, or telemetry. Every data source we ship or call must allow free commercial use with attribution. Anything else is "bring your own source".
- Better output, not only parity. Each feature ships with a measurable quality bar (section 4).
- Undo always works. Every action is one undo group. We never purge the undo history.
- User layers are sacred. We tag the layers and comps we generate, and we only regenerate those.
- Honest limits. When something cannot be free (for example global street-level satellite imagery), the UI says so and offers a bring-your-own option.
2. What users of today's map plugins run into#
| Area | What users see | What we do instead |
|---|---|---|
| Basemap | Raster tiles at whole zoom levels. Text and line widths grow and shrink during a zoom, and levels cross-fade. Comps fill with many tile layers. No globe, 3D terrain or sky. | Every frame rendered at the exact camera, one footage item per pass. Globe, terrain and sky. |
| Camera | Long flights visibly split into phases: zoom out, pan, zoom in. Limited pitch. | One continuous zoom-and-pan curve, pitch up to 85°. |
| Auto labels | Labels pop in and out and overlap during fast moves. | Placement checked on every frame, with hysteresis, minimum time on screen and smooth fades. |
| Vector shapes | One static path per feature: heavy when zoomed out, blocky when zoomed in. | Level-of-detail paths per zoom band. |
| Pinned layers | Renaming comps or layers can break the links. | Rename-safe links through Layer Control effects. |
| Undo | Some actions cannot be undone. | Every action is one undo step. |
| Data | Detailed maps, imagery, search and 3D buildings need a paid data partner. | Free and open data, downloaded once and used offline. |
| 3D | Extruded shapes need the Cinema 4D renderer. | 3D buildings and terrain in the renderer, plus a matched AE camera. |
Good ideas from the category that users expect, which we implement in our own way:
- Map comp model. A map precomp with camera controls, plus pinned layers in the containing comp.
-
Label templates. Normal comps with
{property}text fields and image fields. - Data-driven styles. Value or colour stops, category matching, circle-area scaling, animated values.
- Screen-constant strokes that keep their on-screen width while the map zooms.
- Background processing with progress and cancel for heavy geometry work.
- Imports. GeoJSON, CSV, GPX, TCX, KML, KMZ, Shapefile, TopoJSON, OSM PBF, and .ase palettes.
- Scripting API, including live CSV watching for data graphics.
- Helpers. Scale bar, north arrow, distance circle, minimap view outline, matched 3D camera.
3. Product pillars#
P1 — Frame-exact basemap renderer.
- Every frame is rendered at the exact camera for that frame (fractional zoom, bearing, pitch, terrain) at comp resolution with supersampling.
- No tile seams, no zoom-level cross-fades, and lines stay the same crisp width.
- Optional renderer motion blur from sub-frame samples.
- Fast low-res proxy sequences and full-res final sequences, swapped through AE's proxy system.
P2 — Render passes for compositing.
- Passes: Base, Land, Water, Roads, Boundaries, Buildings, Terrain shading, and an optional Label pass.
- Mattes: Water, Land, and Selected region.
- Each pass has alpha, so designers can grade, glow, or mask any part of the map. GEOlayers only offers a water mask comp.
P3 — Cinematic camera.
- Shot list. Key views, durations, and easing curves.
- Smooth zoom-pan. Uses the optimal path of van Wijk and Nuij (2003), so a move never splits into visible phases.
- Camera moves. Orbit and follow-route with look-ahead and smoothing.
- Globe intro. A globe-to-street move with atmosphere (MapLibre globe projection).
- 3D. Terrain, 3D buildings, and pitch up to 85°.
P4 — AE layers that always line up.
- Pins, labels, callouts, routes, and borders are real AE layers. They are driven by the same camera math as the renderer.
- Alignment is checked by automated tests.
- Links use Layer Control effects, so renaming never breaks them.
- One click creates a matched AE 3D camera for 3D layers, Element 3D, and Cinema 4D.
P5 — Labels that animate like a designer placed them.
- Placement over the whole timeline. Collision is tested on every frame, with hysteresis, a minimum time on screen, smooth fades, priorities, keep-out zones, and optional leader lines.
- Correct shaping. Arabic, Hindi, Thai, Bengali, and every other complex script goes through AE's Universal Type Engine. The label layers stay editable.
-
Label templates.
{property}text fields, image fields, and a custom anchor.
P6 — Vector shapes with level of detail.
- Topology-safe simplification per zoom band, so shared borders never gap.
- Screen-constant strokes.
- Animation presets: draw-on, wipe, pulse, glow, and flowing dashes.
- Great-circle flight arcs, arrows, and route tracers that follow a path and rotate along it.
- Correct handling of holes and the antimeridian.
P7 — Data that is free forever.
- Offline. Natural Earth is bundled (countries, admin-1, cities, rivers, lakes, coastlines, built-up areas and the motorways between cities, and the names of oceans, seas, rivers, lakes, ranges, deserts, islands and peaks).
- Detailed basemaps. OpenStreetMap detail from the Protomaps planet builds. Download a region once, then work offline.
- Terrain. Open elevation tiles.
-
Imagery, in layers of detail, all legally free for commercial video.
- Whole planet at low zoom: NASA Blue Marble and Black Marble (public domain).
- Whole planet at about 10 m per pixel (city scale): a cloud-free Sentinel-2 mosaic that the panel builds locally for the region the user needs, from Copernicus open data (commercial use allowed with attribution). Done 2026-09-25 (D73, SN1).
- Street scale where governments publish open aerial photos: a curated catalogue of national open orthophoto services. Examples: USGS/NAIP (United States, public domain), IGN (France), PNOA (Spain), PDOK (Netherlands), swisstopo (Switzerland), Denmark, Estonia, Japan GSI. Each entry records its licence and attribution text, and the panel adds the attribution automatically.
- Google Earth Studio bridge: import Earth Studio's 3D tracking export, so our pins, labels, routes and data line up on footage the user rendered in Google's own tool, under Google's terms.
- Google Maps, Bing Maps and Esri imagery are not built in: their terms forbid downloading, caching or rendering their tiles outside their own products, whether or not the tool is free.
- Online lookups. Place search through Photon or Nominatim, and OSM features and boundaries through Overpass. Requests are polite (throttled and cached).
- Imports. GeoJSON, TopoJSON, KML, KMZ, GPX, TCX, CSV, Shapefile, and OSM PBF.
- Bring your own. Any XYZ, WMTS, or PMTiles URL, including one with the user's own key. The user is responsible for that source's terms.
- Global boundary packs. Admin boundaries for every country down to district level (geoBoundaries, open licences), with place names in many languages.
P8 — Data visualisation.
- Map types: choropleth, bubbles, 3D spikes, heat, and flow arcs.
- CSV joins by ISO code or by name in any language.
- Generated legends and animated counters.
P9 — Quality of life.
- An English UI with a translation system, so the community can add languages (Bengali first).
- Sample projects and onboarding.
- Update checks through GitHub releases, and a one-click bug report pre-filled with environment info.
- A scripting API, including live CSV watch.
4. Quality bar against GEOlayers 3#
Each item must be demonstrated in the release sample project before 1.0:
- Crisp basemap during zoom. Text and line widths stay the same size on screen at any zoom. There are no zoom-level cross-fades.
- Alignment. Pins and shapes on AE layers stay within 0.5 px of the rendered basemap at 4K, including pitch and bearing. An automated test checks this.
- Smooth fly-to. A move from one continent to a city on another is one continuous zoom-pan curve, with no held-position phase.
- Stable auto labels. No label shows for less than the minimum time. There is no flicker from frame to frame, and no overlaps on any frame.
- Any script. Labels in complex scripts shape correctly. The test set covers Arabic, Hebrew, Hindi, Bengali, Thai, Chinese, Japanese and Korean.
- Light comps. A 10-second fly-to comp holds one footage item per render pass, not hundreds of tile layers.
- Undo. Every panel action can be undone with Ctrl+Z.
- Level of detail. A country outline stays smooth at zoom 12 and light at zoom 2.
- Free. Every sample works with no account and no key.
5. Architecture#
-
Host. After Effects 2024 (v24) or newer: the Universal Type Engine is needed to shape complex scripts. CEP 12 panel (Chromium 99, WebGL2). Windows first, with nothing that blocks macOS.
-
Panel.
- TypeScript bundled with esbuild.
- The UI uses a small component library (Preact).
- Free icons: individual Lucide SVGs (ISC), vendored one by one as needed.
- Node is enabled for file access and the disk cache.
-
Core (
src/core). Pure TypeScript with no DOM, Node, or network. It holds:- Web Mercator and camera maths.
- The fly-path and easing solver.
- Tile math.
- Level-of-detail simplification.
- Label placement.
- CSV joins.
- The style model.
- AE job builders.
Tests run with Node's built-in runner, which runs TypeScript directly.
-
Renderer (
src/panel/render).- MapLibre GL JS v6 (BSD-3) draws into a hidden canvas under a deterministic clock.
-
readPixelsoutput is encoded to PNG or JPEG in a worker, and Node writes the frames to disk. - PMTiles (BSD-3) reads local regional archives.
-
Host scripts (
src/host).- ES3 ExtendScript files, concatenated into
dist/host/lazymaplayers.jsxunder one namespace,LML. - Large payloads (geometry, keyframes) travel as JSON job files. Small calls use
evalScript.
- ES3 ExtendScript files, concatenated into
-
Tagging. Every generated item carries an
LML:marker in its comment. Regeneration only touches tagged items. -
Linking. Layer Control effects instead of layer names inside expression strings.
-
Storage.
- Map comp settings live in a hidden, tagged data layer inside the comp, so they travel with the .aep.
- The cache (tiles, PMTiles regions, search results) lives in
%APPDATA%/LazyMapLayers.
-
Testing.
- Core unit tests.
- ExtendScript syntax check.
- Headless AE smoke tests (
AfterFX.com -r, run only with Sohan's permission each time). - A manual test list for each phase.
-
Release. Follows the suite convention: signed ZXP, zip, and installers. The newest zip goes to
D:\GitHub\00. Install from here.
Approved runtime dependencies#
These need a one-time install, with Sohan's permission:
-
maplibre-gl(BSD-3) -
pmtiles(BSD-3) -
preactand@preact/signals(MIT) -
@turf/*subset (MIT) -
topojson-server,topojson-simplify,topojson-client(ISC) -
polylabel(ISC) -
papaparse(MIT) -
@tmcw/togeojson(BSD-2) -
shpjs(MIT) -
fflate(MIT) -
polyclip-ts(MIT), the polygon clipper @turf/union is built on, used directly by Cut out (D83)
Dev only: typescript, esbuild.
Anything else needs a note in docs/DECISIONS.md.
6. Risky assumptions and the spikes that settle them (Phase 0)#
| # | Assumption | Spike |
|---|---|---|
| S1 | MapLibre GL JS v6 runs in AE 2026's CEP (Chromium 99). It renders a 1080p frame in under 300 ms and 4K in under 1.2 s, with tiles already loaded. | Render 100 frames of a move to PNG and time them. |
| S2 | Our AE camera rig matches MapLibre's projection within 0.5 px at pitch 0–85° and any bearing. | Headless AE compares rig-projected points with renderer-projected points. |
| S3 | ExtendScript can create text layers in complex scripts that shape correctly, and measure 500 labels fast enough for timeline placement. | Create and measure a batch in several scripts, render a frame, and inspect it. |
| S4 | A regional extract from the Protomaps planet build downloads over HTTP range requests, and MapLibre reads it offline. | Extract one city region to zoom 15 and render it. |
| S5 | AE handles image-sequence import, proxy swap, and re-render in place without breaking comps. | Render, import, set a proxy, re-render, and check the comp. |
| S6 | A renderer clock can drive symbol and terrain fades frame by frame. | Render the same frame twice and compare the images. |
If a spike fails, the fallback goes into docs/DECISIONS.md before we continue. For example, if S1
fails, fall back to a tile-layer basemap like GEOlayers but with overlapping zoom bands. If S3
fails, fall back to a label pass drawn with the canvas text shaper.
7. Phases#
Each phase ends with passing tests, a manual test list, and a short changelog entry.
Phase 0 — Foundation and spikes
- Repo scaffold, build, dev install, host bridge, logging, and headless AE smoke harness.
- Run spikes S1 to S6.
Done when the panel opens in AE, shows an offline Natural Earth map, creates a map comp, and every spike has a recorded result.
Phase 1 — Camera core and rig
- Mercator and camera maths in core.
- Map comp with controls.
- Rig expressions and pins (2D projected and 3D).
- Panel ↔ AE sync: read the view at the current time, set a keyframe.
- Rename-safe links.
Done when S2's alignment test passes at 1080p and 4K for random views.
Phase 2 — Frame renderer and passes
- Proxy and final sequences, with a render queue in the panel (progress, cancel, and resume).
- Frame hashing, so only changed frames re-render.
- Supersampling, motion blur samples, and passes and mattes.
Done when a 10-second 4K move renders with no seams or pops, re-rendering after a keyframe change only redraws the affected frames, and the comp stays light.
Milestone A — World flight demo (after Phase 2)
- Globe from space, slowly turning, with country borders drawing on.
- One continuous flight across continents down to a city, with auto labels in the local script.
- A pin with a callout, then a second flight to another city with a great-circle route arc.
Rendered at 1080p and 4K. This is the first "wow" release (0.1).
Phase 3 — Cinematic camera
- Shot list UI.
- van Wijk–Nuij paths.
- Easing presets.
- Orbit, follow-route, and fit-to-feature.
- Globe transitions, terrain, sky, and 3D buildings.
Phase 4 — Data
- Offline Natural Earth packs and global boundary packs.
- Imagery: NASA layers, local Sentinel-2 mosaic builder, open orthophoto catalogue.
- Google Earth Studio tracking import.
- Search, reverse geocoding, and Overpass fetch, all throttled and cached.
- Region download (PMTiles extract).
- Imports for all listed formats.
- Feature browser with merge, dissolve, simplify, buffer, great circle, point-in-polygon, and CSV join.
- Everything runs in workers with progress and cancel.
Phase 5 — AE vector layers and styles
- Shape layers with level of detail and styles: fill, stroke, dash, gap, outline, glow, and data-driven values.
- Animation presets and arrows.
- Route tracers.
- Style pick-up from an existing layer.
- Turn AE layers back into GeoJSON.
Phase 6 — Labels
- Label templates.
- Timeline-wide auto-label engine.
- Callouts and leader lines.
- Keep-out zones.
- Complex scripts.
Phase 7 — Map styles
- 8 to 12 curated motion-design styles: dark, light, paper, blueprint, neon, broadcast news, terrain, and night lights.
- Style editor with base colours, layer toggles, widths, hillshade, terrain exaggeration, and sky.
- Import and export of styles.
- Palettes from an image or an .ase file.
Phase 8 — Data visualisation and extras
- Choropleth, bubbles, spikes, heat, and flows.
- Legends.
- Scale bar, north arrow, minimap inset, and distance circles.
- Live CSV watch and scripting API.
Phase 9 — Polish and 1.0
- English UI. No translations (D57).
- Sample projects and documentation.
- Update checker and bug reporter.
- Performance budgets (docs/PERFORMANCE.md).
- Signed release.
8. Status board#
| Phase | Status |
|---|---|
| 0 — Foundation and spikes | DONE 2026-09-17: spikes S1–S6 and host smoke H1 pass in AE 2026 (docs/SPIKES.md) |
| 1 — Camera core and rig | DONE 2026-09-17: 2D pins (P1 0.006 px at 1080p and 4K), matched 3D camera and 3D pins (C1 0.004 px), AE render check (E1 40/40), usable panel UI (U1) |
| 2 — Frame renderer and passes | DONE 2026-09-17: content-keyed cache, render queue with cancel and resume, preview proxies, 1–4× GPU supersampling, motion blur, 6 passes and 2 mattes (R1 15/15); 10-second 4K move at 125 ms per frame with no pops, keyframe change redraws only affected frames (R2). The shaded slopes are their own pass since 2026-09-24 (D63, TR1); a label pass and a selected-region matte were dropped for good (labels are AE layers, a highlight is already its own pass). Tile-level cross-fade dropped 2026-09-24 after R2 measured no pops in a 4K descent (D10). Done |
| Milestone A — World flight demo | DONE 2026-09-17: globe (G1, G2), fly-to keys, world plus layered regions (D13), borders draw-on, auto labels in local scripts, routes, callouts, panel buttons, demo built and rendered at 1080p and 4K (D1), signed installer for release 0.1.0. Deferred: macOS test run. Far-field tiers measured on 2026-09-24 (D13): the tier machinery is right; zoom 7 to 9 of a descent was empty because the bundled data had no urban areas or roads, filled on 2026-09-25 by carrying both in the world archive (D74, WB1) |
| 3 — Cinematic camera | DONE 2026-09-18 (a map's camera can follow another map's, linked in one comp or copied across comps, D87, FO1): shot list with Fly, Straight, Along route and Cut moves, easing presets, orbit, push-in and globe spin, preview playback, Apply in one undo step, offline search and fit to country, the preview as the exact frame, new panel layout (D15, D16). In After Effects: SH1 (601 frames match core maths, Apply in about 30 ms, also when applied again) and U1 pass, and H1, P1, C1, E1, X1, R1 and D1 still pass. Seven map looks with optional satellite and relief imagery (D18, D19; TH1, SAT1), country highlights as their own pass (D20, HL1). Auto labels in batches with progress and cancel (D21, LB1). Import of GPX, KML and GeoJSON with routes, travellers and camera moves along them (D22, RT1). Custom area highlights (D23) and built-in provinces in search and the Highlight tool (D24, HL1). KMZ, CSV and shapefile import, recorded pace for timed tracks, great-circle legs, the imported file shown in the preview (D25, RT1). One layer per highlight (D26, HL1). Districts as a download per country from geoBoundaries (D27, DS1). Elevation packs, shaded slopes, 3D terrain with elevation-aware linked layers and a keyable height, the sky above the horizon (D28, TR1). Imagery packs published as a GitHub release and downloaded from the Look sheet (D29, IM1) |
| 4 — Data | DONE 2026-09-26: any named OpenStreetMap feature for the area in the preview, through Overpass - nine kinds, relations assembled into polygons with their holes, arriving as an ordinary import, polite and cached on disk, with the credit the licence asks for (D38, OSM1). Already in place from earlier phases: offline Natural Earth, districts from geoBoundaries (D27), region and elevation downloads (D28), imagery packs (D29), offline search, and imports of GPX, KML, KMZ, GeoJSON, CSV and shapefiles (D22, D25). Merge, grow, shrink and distance circles on the highlighted areas, with the area on the globe reported (D39). A CSV of numbers joined to the countries by name in any language, by ISO code or by the map's own code, and drawn as one coloured layer, with the legend built into the scene as an editable precomp (D40, DT1, U1). Provinces and states join as well, by name or by their short codes, with their outlines coming from the bundled data (D40, DT1), and so do the districts downloaded for a country, from their own outlines (D52, DT1). What is under the pointer - place, district, province, country - as a readout, offline (D54, U1). Imagery of the user's own from any XYZ or PMTiles address, over the ground and under the lines, credited (D59, OI1), and a checked catalogue of six national open orthophoto services (D60). The Google Earth Studio camera comes in from its JSON tracking export, keyed frame by frame, with the track points as pins (D72, ES1). Nothing left from the plan |
| 5 — AE vector layers and styles | DONE 2026-09-26 (Cut out clips any overlap, features can be edited, D83; 2026-09-27 a Pen-tool drawing becomes routes and areas, D85, DR1): a feature browser over every source the panel carries, with a written filter, sorting, and break apart, cut out, count points inside and connect (D69, U1). Earlier 2026-09-18: any highlighted country, province, district or imported area is added to the comp as an editable shape layer with paths that follow the map, an even-odd fill, a stroke and an optional draw-on (D30, SL1); bundled country outlines; area-based thinning. The user's own layers attached to a place, with Unlink (D31, AT1). One style for the generated layers, from the look or picked up from a layer (D33, ST1). Comet trails, dashed lines and the map back out as GeoJSON (D35, RT1). Shape layers now carry a coarse and a fine outline and project only the one the zoom needs (D48, SL1). The user's own layer copied onto every place of a table, each copy sized by its number and wired like an attached layer (D53, AT1). Left: nothing from the plan; arrows and route tracers were done as the Traveller and comet trails (D35, D45) |
| 6 — Labels | DONE 2026-09-24 (labels designed by the user, D64, LD1; 2026-09-27 street and river names bent along their line, D86, LB5, and oceans placed first on a turning globe, D88, LB6). Earlier 2026-09-22: one label template per map - colour, size, halo, capitals, dots and a font picked up from a text layer the user styled, with every field falling back to the look (D36, LB2); keep-out zones, five presets and the bounds of the selected layers, for the seconds those layers are on screen, drawn over the preview (D37, LB3, U1); callouts typeset in the template's font (ST1). The timeline-wide engine and names in every script with an English subtitle were already in place (D12, D21, LB1). A changed template restyles the names already on the map, capitals on and off, values too (D58, LB2). A look or a template goes to every other map in one click (D61). A template change places the names again, so bigger names never overlap (D62, LB2). Done |
| 7 — Map styles | DONE 2026-09-22: a look of the designer's own - sea, land, lines and names, with everything else derived and the names kept readable - and a look taken from the palette of a picture (D42, LK1, U1). A look saved to a file and opened again, and Illustrator or Photoshop palettes (.ase, .act) read straight into a look (D43). Five more looks built from three colours each - twelve in all (D47, TH1). The look's details - line and road widths, fewer or more names - as three knobs on the finished style (D55, U1). Done |
| 8 — Data visualisation and extras | DONE 2026-09-26 (categories and numbers over the years with a year counter, D79; line and area charts that follow the map, D80; 2026-09-27 prism maps, D84, DT3): a CSV joined to countries, states and provinces and drawn as a choropleth with a legend (D40); the same numbers as bubbles whose area stands for the value, as one editable layer, with their sizes in the legend (D41, DT1). The values written on the map as text layers of their own kind, which Auto labels leaves alone (D41). Flows: one great-circle arc per row of a from/to/amount table, width by amount, arrows riding, places found by the search (D46, FL1), each arc in the colour of its step of the ramp when asked (D49). Every place with a number as its own shape layer, filled and stroked by that number (D65, DT1). Spikes: a triangle per place rising up the frame, its height standing for the value, as one layer, with the legend showing three heights (D50, DT1). Heat: the places' warmth summed and drawn by the renderer as its own pass, in the ramp's colours (D51, HT1). All five map types of the plan are in. The same numbers as a bar chart precomp, longest first, each bar growing in turn (D66, DT1) |
| 9 — Polish and 1.0 | DONE 2026-10-09, released as 1.0 with the map data for working offline down to city level (D91). Since 2026-09-24: a table of numbers watched on disk, so a map follows a file that keeps changing (D70, U1); a scripting API through a request folder, off by default, with docs/SCRIPTING.md and an ExtendScript helper (D71, U1); an inset locator map with a box that follows the big map's frame, itself a map with its own look and render (D68, MF1); a scale bar that measures itself from the map on every frame and a north arrow that turns with it, both in any corner, in metric or imperial (D67, MF1). Earlier 2026-09-23: a once-a-day check of the release list with a switch to turn it off, and a problem report the user pastes into a new issue (D56, U1). A second sample, a data map of every country by population from the bundled data (U1). Performance budgets written down with their measurements and enforced by the tests where a number can be checked (docs/PERFORMANCE.md). 2026-09-26: the guide opens with a five-minute map, and docs/QUALITY.md shows every item of the quality bar with the sample and the test that show it. 2026-10-09: macOS ships as experimental, without a run on a Mac (D90). The installer test, on the development PC switched to a user's setup (docs/RELEASING.md): a signed zip from main installed by its own installer over the development link and again over a release install, the panel opening with the signature check on, the world flight sample built and rendered in a project on the Legacy expression engine, Fly here and Alt+click; it found two panel bugs, both fixed (a sheet taller than the panel out of reach, an empty basemap list). Not tried: Auto labels in another language. 2026-10-09 also: the release carries the map data for working offline, about 1.9 GB - the world's OpenStreetMap to zoom 9 under every map, elevation to zoom 6, the satellite and relief pictures and the districts of every country - built by tools/build-offline-pack.ts and copied in by the installers (D91, OW1). Done |
| 10 — Historical borders | DONE 2026-10-10 (§9), released in 1.1.0: the pack is built - 56 years, 13.9 MB, with British India in 1945 and Ceylon before 1948 corrected and 1947 and 1971 made by LazyMapLayers (D92). The history-1 release is published. 2026-10-10: the Look sheet downloads the pack and picks a year; the year's shapes, coloured by ruling power with neighbours apart, its borders and names replace today's countries in the preview and the render, with the credit (D93). HB1 passes in After Effects. Also 2026-10-10: the History Year slider on the map layer, keyed from the Look sheet's Move to, cross-fading through every year it passes, with a year layer that counts it (D94); HB1 passes with it. Then the past in the Highlight tool (a shape, or Shift+click a whole power) and in the search, and one name per ruling power in the pack, history-2, published, HB1 passes (D95). The past in Auto labels, names following the slider, and in the feature browser (D96). Done |
| 11 — Arrow rig | DONE 2026-10-12 (§10), released in 1.2.0: a route drawn as one arrow layer, tapered, with a head on its tip and every look a control on the layer, on the Route sheet and for imported lines (D100, AR1) |
| 12 — Street detail on demand, and a light install | DONE 2026-10-12 (§10), released in 1.2.0: past what is installed, core works out the OpenStreetMap tiles a map's frames need (MapLibre's own tile choice, held to it by recorded views), the panel fetches only those from the Protomaps planet build into a tile cache and draws them as a region would, the preview fetches as it moves, and offline a render names the frames short of detail and draws them with what the computer holds (world detail without streets, else the pack); the installers offer Full, Light (121 MB) and Online, and a light zip ships beside the full one (D101, SD1) |
| 13 — Routes on roads | DONE 2026-10-12 (§10), released in 1.2.0: an own router in core - the roads around both ends and the major roads between them from Overpass, A* over the graph, for a car (one-way streets and access respected), a bicycle and on foot - whose result is an ordinary route line, so Arrow, Comet, Dashed, the arrow rig and a camera move along it work; the roads are kept on disk and credited, so a route comes again offline. Dhaka to Chittagong by car runs 98 % on N1; a walk across Paris stays on its walkable ways. Public routing services stay out: their terms allow no commercial use (D102, RR1) |
| 14 — More imagery sources | DONE 2026-10-12 (§10), released in 1.2.0: imagery of the user's own from a WMS address (its capabilities read, a layer and format offered in Web Mercator picked, asked a tile at a time), a folder of {z}/{x}/{y} tiles and an MBTiles file on the computer, read by an SQLite reader of our own in core, in the preview and the render with their credit; seven more open orthophoto services in the catalogue, every entry with its licence and the date it was checked (D103, OI1) |
| 15 — macOS readiness and support | DONE 2026-10-12 (§10), released in 1.2.0: CI on Windows and macOS (unit tests, typecheck, dev and release builds, ES3 checks on Windows, the installers run against a test home folder); a Self-test in the panel whose report the problem report carries, opened as an issue in one step; Discussions, issue forms and a FAQ (D104). SF1 passes in After Effects on both expression engines (2026-10-12, on the minified 1.2.0 build). Still no run on a real Mac (D90) |
| 16 — TCX import, lines from a hub, borders as lines | DONE 2026-10-12, released in 1.3.0: the File import and Feature browser rows of COMPARISON.md made whole - a TCX activity read as one timed track (its laps joined in core), Connect from the first ticked feature, and the borders the ticked areas share as one shape layer of open paths (one topology, its inner arcs joined end to end); COMPARISON.md and its page got a features-only view (D105, FB1) |
| 17 — A calmer panel | DONE 2026-10-13, released in 1.4.0: after a user found the panel hard and messy next to GEOlayers - After Effects-sized chrome in one grey, the tool row as two labelled menus (Add, Data) that keep every tool's data-id, and a Render tab with folded settings and one-line jobs (queue stats and notes beside the summary); U1 passed in After Effects and the manual was captured again (D106) |
9. After 1.0: historical borders#
Goal. A user picks a year, from 123,000 BC to 2010, and the map shows the world's countries, empires and colonies as they were then. Everything that works on today's countries works on them: highlight, shape layers, labels, search, tables joined by name. A keyed year moves the map from one period to the next. The borders are vector data (Sohan's choice, 2026-10-09); scanned old maps as pictures are a later, separate idea.
Source checked on 2026-10-09.
| Source | What | Licence | Use |
|---|---|---|---|
| historical-basemaps (A. Ourednik) | 53 world snapshots of GeoJSON, 123,000 BC to 2010; about 75 MB raw, about 0.5 MB per year gzipped; every shape has NAME, SUBJECTO (the ruling power), PARTOF and BORDERPRECISION (1 approximate, 2 moderate, 3 by international law) |
GPL-3.0 | The pack |
| CShapes 2.0 (ETH Zürich) | States and dependencies 1886 to 2019, by the day | CC BY-NC-SA 4.0 | Not shipped: no commercial use (hard rule 1). A user may import it as GeoJSON |
| OldMapsOnline / TimeMap (Klokan) | A search over scanned maps of many libraries, and TimeMap's historical places | Personal, non-commercial use, no redistribution (its Terms of Use 4.2 and 4.6) | Not used. Each scanned map keeps its library's own licence; that is for the picture idea later |
The snapshot years: -123000, -10000, -8000, -5000, -4000, -3000, -2000, -1500, -1000, -700, -500, -400, -323, -300, -200, -100, -1, then every century from 100 to 1400, 1279, 1492, 1500, 1530, 1600, 1650, 1700, 1715, 1783, 1800, 1815, 1878, 1880, 1900, 1914, 1920, 1930, 1938, 1945, 1960, 1994, 2000, 2010.
Known gaps and errors. The project calls itself work in progress. In world_1945 India, Pakistan
and Bangladesh are already separate countries; in 1945 they were all British India. There is no
1947 (partition) or 1971 (Bangladesh), and 1914 names the region "British Raj" while 1900 says
"India". The build therefore applies a corrections file kept in this repository, every fix sent
upstream as well, and the panel shows each snapshot's own year, never a year between two snapshots
as if it were exact.
How it reaches the user (the D29 pattern).
-
tools/build-history-pack.tsreads the source at a pinned commit, applies the corrections, clips every shape to Natural Earth's land (so coasts match the map under it), thins all shapes of a year together so shared borders stay shared (simplifyTogether), rounds coordinates, and writes one file per year plus a manifest (names, ruling power, precision, label points, bounds) and the licence. First estimate: 10 to 20 MB in all. - The pack is a GitHub release asset of this repository (
history-1, not Latest). The panel knows its URL, size and SHA-256 and refuses a file that does not match. It is not in the offline pack or the.zxp. - In the panel a Historical borders section shows source, licence and size next to a Download
button. Nothing goes online by itself. The pack is unpacked to
<user data>/history/.
How the map uses it.
- A year picker per map, listing the snapshots. With a year set, the historical shapes replace today's country fills and borders at every zoom (the offline world's modern borders are hidden too); coasts, rivers, relief, terrain and imagery stay.
- A keyed History Year slider on the map layer, like Data Time (D79): between two snapshots the renderer cross-fades the two sets of shapes. Shapes cannot morph, because a shape in 1800 has no partner in 1815. The frame cache keys on the slider.
- Colour by
SUBJECTO, so every colony takes its ruling power's colour, with the categorical palettes of D79.BORDERPRECISION1 can be drawn soft or dashed. - Highlight, shape layers, Auto labels (English names only, the source has no other scripts), the feature browser, search within the chosen year, and tables joined by historical name.
- The credit layer reads "Historical borders: historical-basemaps, A. Ourednik (GPL-3.0)".
Settled with Sohan (2026-10-09). LazyMapLayers makes 1947 and 1971 itself, as derived years in the corrections (D92). The panel shows only the credit and the licence's name; the licence text travels in the pack. The shapes are not clipped to Natural Earth's land at build time after all: the map can draw them under its water, which hides the same overlap at no cost (to be confirmed when the drawing is built).
Tests. Unit tests for the build (shared borders stay identical, the corrections apply, every manifest entry has a file) and for the cross-fade weights; HB1 in After Effects renders 1815 and 1914 over the same view and finds a known colony in its ruling power's colour.
10. After 1.1: closing the gaps#
Goal. COMPARISON.md lists eight rows where GEOlayers 3 is still ahead. Each one is closed here in a way that keeps hard rule 1 (no account, key, trial or subscription). Settled with Sohan on 2026-10-12:
- After Effects 2024 or newer stays. Older versions are not a goal (the row stays as it is).
- No Esri, Bing or Google imagery (D2 holds). The imagery row closes with formats and open sources.
- One phase per session. Each phase starts in a new session. The session that finishes a phase ends with the prompt for the next one, and the effort level it needs, in the chat.
| Phase | Rows it closes | Effort |
|---|---|---|
| 11 — Arrow rig | Arrows | high |
| 12 — Street detail on demand, and a light install | Street detail anywhere, Disk space | xhigh |
| 13 — Routes on roads | Routes on roads | xhigh |
| 14 — More imagery sources | Imagery sources | high |
| 15 — macOS readiness and support | macOS, Support (partly: only a Mac and time close them fully) | high |
Phase 11 — Arrow rig
- A route can be drawn as an arrow: one shape layer whose line and head belong together. One Progress slider moves the tip, and the head always sits on it, under any camera, on the globe and on terrain (the traveller's maths, D45, in the layer's own space).
- Controls on the layer, all keyable: Progress, Tail (where the line starts, for an arrow that travels), Width, Tail Width and Taper Length (After Effects' own stroke taper), Head Size, Head Style (triangle, chevron, none), Both Ends, Dash, Gap, Dash Speed (dashes that flow), Outline Width, Color and Outline Color.
- The line stops behind the head, so its edges never show past the point.
- In the panel: an Arrow rig choice on the Route tool and on imported lines.
- Done when the expressions pass in both engines (
npm run check:expressions), unit tests cover the maths, and an in-AE test (AR1) adds an arrow, moves Progress and finds the head on the tip.
Phase 12 — Street detail on demand, and a light install
- When a map's camera goes past zoom 9 and the computer is online, the panel works out which OpenStreetMap tiles the frames need (the camera path is known in core) and fetches only those from the Protomaps planet build by range requests, into the user data folder. No Download button is needed; the download stays the way to prepare an area for working offline.
- Offline, the panel says which frames lack detail instead of rendering them empty.
- The installer offers Full (today's 1.9 GB pack), Light (Natural Earth, the world to zoom 6 and coarse elevation, about 100 MB) and Online (nothing extra; everything is fetched and kept as it is used).
- Done when a Light install renders a fly-to into a city's streets without pressing Download, the frames match the same render from a downloaded region, and the frames come again offline.
Phase 13 — Routes on roads
- An own router in core: the road network around the route comes from Overpass (all roads near both ends, major roads in between on long trips), A* finds the path, and the result is an ordinary route line (the existing route, traveller, arrow rig and camera moves all work on it).
- Modes: car (one-way streets respected), bicycle, on foot. The road data is cached on disk and credited like any OpenStreetMap feature (D38).
- A public routing service (OSRM or Valhalla) as an option only if its terms allow it, with a D-entry first.
- Done when a car route from Dhaka to Chittagong follows the national highway, a walk across a city stays on its streets, both come again offline from the cache, and unit tests cover the graph and the search.
Phase 14 — More imagery sources
- WMS addresses, a folder of
{z}/{x}/{y}tiles and MBTiles files as imagery of the user's own, next to XYZ, WMTS and PMTiles (D59). MBTiles is SQLite: a small read-only reader in core, or a D-entry for a package. - More national open orthophoto services in the catalogue (D60), each with its licence checked and recorded.
- Done when each new format draws in the preview and the render with its credit, and every catalogue entry has its licence on record.
Phase 15 — macOS readiness and support
- A GitHub Actions run on macOS and Windows: unit tests, typecheck, build, and the Mac installer scripts in a test home folder.
- A Self-test in the panel: a short set of in-AE checks the user runs in their own After Effects, which writes a report the problem report (D56) can carry. Mac users can then report in one step.
- GitHub Discussions, issue templates, a FAQ built from real issues, and a call for Mac testers.
- Done when the CI run is green on both systems and a Self-test report is attached to a problem report from the panel.
আমি