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.