Remix.run Logo
maelito 2 hours ago

Organic Maps and its fork Comaps still lack a Web client.

We're this on https://cartes.app, trying to push the Web further (even on mobile devices) so that you don't even need an app for most use cases.

scanny 2 hours ago | parent [-]

Would you consider using cache storage for enabling offline capabilities? Maybe I am in the minority but I usually go to organic maps for offline usage.

maelito 2 hours ago | parent [-]

Yes it's planned. Should work in theory, but no one tried before.

Maps are so often done as native apps that to my knowledge no one tried to just use the PWA capabilities to cache tiles on the Web. Of course what's hard is cache invalidation. Does the user want to update the tiles ? Never ? Daily, weekly ? Only some regions ? Or manually ?

Here's an issue about that : https://codeberg.org/cartes/web/issues/1078

It's in French, unfortunately Codeberg has no auto-translate capabilities yet.

bpev 40 minutes ago | parent [-]

FWIW, I have an experimental open-source implementation of offline-capable PWA protomaps. Haven't advertised it much, because I haven't sorted out performance (particularly on mobile), and it's a bit buggy still. Also, don't have cache invalidation. But it does work. Usually. xD

app: https://maps.bpev.me

source: https://tangled.org/bpev.me/maps

Based on results from indexeddb pmtiles work:

https://github.com/jtbaker/pmtiles-offline

https://github.com/protomaps/PMTiles/issues/395

maelito 4 minutes ago | parent | next [-]

Funny : there's another Ben that did his "Ben maps". https://benmaps.fr

maelito 10 minutes ago | parent | prev [-]

Awesome, thanks for the links.