Skip to main content

Architecture

Data path

Layers

LayerResponsibility
WorkersParse GeoJSON / ingest payloads; emit chunked ArrayBuffer views
FeatureStoreFeature id ↔ metadata, bbox queries, upsert/remove
GpuPointChunkSlotPer-chunk vertex buffers + LRU participation
WebGpuPointsRendererPipelines, uniforms, draw encoding, optional pick target
TextLayer / TextRendererCPU layout + MSDF/bitmap atlas + text draw pass

Chunked geometry

Design rules

  • The renderer does not parse file formats — only dense buffers and uniforms.
  • TypedArrays are the contract across thread boundaries; prefer Transferable ownership moves.
  • Picking and text are optional subsystems with their own resources but share the same canvas pixel space.