biscuit/pkgs/maps
Daniel Barlow 8ee10214c8 async tile fetcher
we use cqueues, which is the async framework that lua-http is built
on. we integrate it into the glib event loop rather hackily by calling
the cqueues event stepper ever 20ms from a glib timeout function

overpass has very low rate limits so we handle a 429 response by
sleeping for a random length of time and retrying. This is, also,
a bit of a hack
2025-06-01 20:50:26 +01:00
..
assert.fnl convert lat/lon to tile x/y and back 2025-05-27 23:48:32 +01:00
default.nix draw map once only and copy it to screen in on_draw 2025-05-30 21:24:28 +01:00
fake-nmea.fnl write an nmea trace to a unix socket for indoor maps testing 2025-05-18 18:00:49 +00:00
foo.nmea add beginnings of an nmea parser 2025-05-14 18:30:14 +01:00
main.fnl async tile fetcher 2025-06-01 20:50:26 +01:00
Makefile add maps app (doesn't do much yet) 2024-07-22 22:25:25 +01:00
nmea.fnl add aroow to show direction of travel 2025-05-18 23:18:15 +00:00
shell.nix hack in rxi-json 2025-05-27 13:31:54 +01:00
tiles.fnl async tile fetcher 2025-06-01 20:50:26 +01:00