11bbf10781
parse way name as well as points
2025-06-03 08:55:14 +01:00
441120efd6
pass zoom level to canvas
2025-06-03 08:55:14 +01:00
b70c72fcfe
fix two more off-by-one errors
...
- we were incrementing num-tiles, no need to
- the overpass fetcher was fetcing one tile too far left
2025-06-02 13:43:39 +01:00
39a2e49422
add on-completion callback to tile fetcher, invalidate map-surface
2025-06-02 13:33:51 +01:00
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
6e61113366
replace in-memory cache with a persistent json cache
...
we just store the raw response from overpass
2025-05-29 18:43:48 +01:00
86682a2ad6
fetch enough tiles to cover the display
2025-05-29 18:13:47 +01:00
995880e5a3
wip
2025-05-29 12:48:21 +01:00
398693bc07
hook the ui up to the overpass data
2025-05-28 18:50:12 +01:00
dc95c2252e
convert lat/lon to tile x/y and back
2025-05-27 23:48:32 +01:00
184ba482f9
and decode
2025-05-27 13:34:09 +01:00
26ebbe21b5
hack in rxi-json
2025-05-27 13:31:54 +01:00
a2906f5150
http request to overpass
2025-05-27 13:12:12 +01:00