Docs
Developer documentation for Waymark JS.
Reading order
- API - Consumer API contract for
createInstance({ map, document? }), including map injection and ownership boundaries, config defaults, events, canonical InstanceDocument serialisation, anddata.layersGeoJSON documents. - Development - Contributor workflow, dev-page baseline, testing strategy, and sync protocol.
- Instances - Internal orchestration boundaries, lifecycle composition, and baseline-vs-delta serialisation semantics.
- Map - Map injection contract, ownership boundaries, overlay mounting, and cleanup guarantees.
- Data - Canonical data-layer contract,
instance.data.addLayer(...), and GeoJSON runtime behaviour.
Scope
These docs split consumer API from internals:
docs/1.api.mdis the public usage contract.docs/3.instances.mddefines runtime orchestration boundaries.docs/4.map.mddocuments the map injection contract and overlay internals.docs/5.data.mdis the canonical data/GeoJSON reference used by API, map, and dev docs.
For LLMs
- llms.txt - a concise machine-readable index of these docs.
- llms-full.txt - the full documentation in a single file.