I was thinking we could add a very basic world map (countries, coastlines, major cities) to the offline tile fallback, rendered client-side with Canvas, so users can still differentiate regions and get basic geographic orientation when OpenStreetMap tiles are unavailable.
The idea is to be rendered client-side using Canvas 2D API (the same technology already being used), so it wouldn't require external services. The data would be embedded as simplified GeoJSON in the JavaScript bundle.
the trade-offs to consider is the Bundle size (GPT estimate: 50-200KB).
So maybe make it a downloadable part on startup and keep it on the git repository?
that way the docker images will stay small and the repository cloning deployment will have it directly available.
I was thinking we could add a very basic world map (countries, coastlines, major cities) to the offline tile fallback, rendered client-side with Canvas, so users can still differentiate regions and get basic geographic orientation when OpenStreetMap tiles are unavailable.
The idea is to be rendered client-side using Canvas 2D API (the same technology already being used), so it wouldn't require external services. The data would be embedded as simplified GeoJSON in the JavaScript bundle.
the trade-offs to consider is the Bundle size (GPT estimate: 50-200KB).
So maybe make it a downloadable part on startup and keep it on the git repository?
that way the docker images will stay small and the repository cloning deployment will have it directly available.
<!-- github-sync-id:3737906199 -->
We already have a fallback that renders placeholder tiles. We should reduce the timeout though.
I don't think it's realistic to host our own base layer unless we consider something like versatiles see #195
We already have a fallback that renders placeholder tiles. We should reduce the timeout though.
I don't think it's realistic to host our own base layer unless we consider something like versatiles see #195
<!-- github-comment-id:3664525629 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I was thinking we could add a very basic world map (countries, coastlines, major cities) to the offline tile fallback, rendered client-side with Canvas, so users can still differentiate regions and get basic geographic orientation when OpenStreetMap tiles are unavailable.
The idea is to be rendered client-side using Canvas 2D API (the same technology already being used), so it wouldn't require external services. The data would be embedded as simplified GeoJSON in the JavaScript bundle.
the trade-offs to consider is the Bundle size (GPT estimate: 50-200KB).
So maybe make it a downloadable part on startup and keep it on the git repository?
that way the docker images will stay small and the repository cloning deployment will have it directly available.
We already have a fallback that renders placeholder tiles. We should reduce the timeout though.
I don't think it's realistic to host our own base layer unless we consider something like versatiles see #195