ADR 0002 — MapLibre Native behind an engine-neutral controller; ORIX Atlas Metal engine in parallel
Date: 2026-11-25 · Status: accepted
Context. The map must not be a skin over MapKit and must work with no Apple or Google server (§2, §6). A complete vector renderer (tile parsing, triangulation, line joins, glyph atlas, label collision, 3D buildings) is years of work.
Options.
- MapKit — excluded: Apple servers and Apple cartography.
- MapLibre Native iOS 7.0.0 — BSD-2-Clause, Metal backend, mature (fork of Mapbox GL Native 1.x maintained by the
MapLibre organization), style specification v8, reads PMTiles archives from
file://URLs natively, no telemetry. Binary size: the dynamic framework is about 9 MB per architecture in a release build (to be measured in the archive). - A proprietary Metal engine first — excluded for V1: it would block the product.
Decision. V1 renders with MapLibre Native. The application only talks to ORIXMapRenderer.MapController
(camera, style document, overlays, events, frame statistics) and the MapBackend protocol; MapLibreBackend is the only
file that imports MapLibre. The ORIX Atlas engine (Metal) is specified and prototyped behind the same protocol (phase 7)
and is not announced as available until it renders the same style documents.
Verified on 2026-11-25. Simulator iPhone 17 Pro, iOS 26.5: style generated by ORIXMapStyle, tiles from a local
pmtiles://file://… archive, glyphs from the application bundle (file://…/Glyphs/{fontstack}/{range}.pbf), no network
request configured anywhere in the style. Not yet measured on a device.
Consequences. Label fonts must ship as glyph PBF ranges (Noto Sans Regular / Medium / Italic, SIL OFL 1.1, 13 MB). Icons are registered at run time from SF Symbols instead of a sprite sheet.