12 ms·
Here are three things I'd like to do with Leaflet, or generally just have from an online mapping tool: 1. Use WebTorrent[1] as the tile provider (would probabl
by nathcd 10y ago
Here are three things I'd like to do with Leaflet, or generally just have from an online mapping tool:
1. Use WebTorrent[1] as the tile provider (would probably need a canonical WebTorrent server so that all tiles would always have at least one seeder).
2. A Progressive Web Map (teehee) so that users can store tiles offline and use the mapping service while offline. Obviously not a new concept but AFAIK there isn't a map provider that does it in the browser.
3. Client-side routing/navigation. This could start as a simple Dijkstra in JavaScript (like is demonstrated in [2]), but maybe could be made more powerful and capable soon with WebAssembly.
Is anybody working on these sorts of things? Is anybody interested in them? I've heard of peermaps[3] but it hasn't been updated in over 6 months. I'd be interested in contributing or teaming up with others on these sorts of things.
[1] https://webtorrent.io/ https://webtorrent.io/
[2] https://christophercliff.com/dijkstra/ https://christophercliff.com/dijkstra/
[3] https://peermaps.github.io/ https://peermaps.github.io/
- mbrock 10y agoService Workers can cache map tiles, if you need a quick solution that works in Chrome and Firefox at least.
- Doctor_Fegg 10y agoFor offline mapping, it's best to use vector rather than bitmap tiles. Look at the ecosystem around Mapbox GL (which is open source).
- anc84 10y agoWould the latency of torrents be very hard to overcome for web-mapping?