Draw live AIS vessels from a GPU icon set

This commit is contained in:
Sameh Khamis committed 2026-11-03 21:16:19 -08:00
1 parent 816002e3b9
commit e0eb771217
20 files changed
+340 -318

No files matched your search

+7 -1
View File
@@ -46,12 +46,18 @@ export function createVesselState({ source, services }) {
vesselState.shipIconCache = new Map();
/** Row ids for unkeyed (no-MMSI) records, which are rebuilt every poll. */
vesselState._unkeyedIconSequence = 0;
vesselState.state = {
feed: createVesselFeed(),
records: new VesselRecords({ now: () => vesselState._aisRuntime.now() }),
viewer: null,
billboardCollection: null,
/** The vessels' icon set and the primitive that draws it. */
icons: null,
iconPrimitive: null,
clickHandler: null,
/** Exact EventTarget currently holding the Escape listener. */
keyTarget: null,