News for hackers. Stuff that matters.
Re:Organic Maps by maelito on Monday July 06, 2026 @04:51AM (#48802224)
Did you explore the solution of just caching the pmtiles requests responses as well, instead of IndexedDb ?
Re:Organic Maps by bpev on Monday July 06, 2026 @04:59AM (#48802265)
I didn't dig too deeply into it, because explicitly storing locally just gives a bit more control. Also, since I was kind of imitating the style of Organic Maps, I wanted to give the ability to download entire tiles. I view caching responses more like a performance enhancement, whereas I wanted explicit offline support.
Re:Organic Maps by maelito on Monday July 06, 2026 @09:19AM (#48804209)
That makes sens. Both features combined would be cool. In any case, a cache invalidation feature should be always visible to the user, so that he knows that clicking this button will switch to online mode.