Map engine rewrite
- Replaced Leaflet + protomaps-leaflet with maplibre-gl-js + @protomaps/basemaps.
- Fixes the long-standing freeze where rapid zoom/pan would stall the GPU compositor and lock the window.
- All six map themes restored (light, dark, white, grayscale, black, contrast) with full Protomaps flavor palettes, no more sharp cutouts at high zoom.
Map editor port
- Map editor rebuilt natively against the new engine; overlay no longer drifts from the basemap when panning/zooming.
- Track waypoint editing is now GPU-accelerated: snap reference dots render as a single circle layer instead of 1,600+ DOM markers.
- Selected track uses a dedicated source so dragging a waypoint doesn't retessellate every other track on the map.
- OSM import (Overpass) and OSM trace (A* path along OSM ways) preserved.
Visual systems
- Weather overlay (clouds, rain, snow particles) ported to maplibre projection.
- Demand flow visualisation ported with curved 3-point lines and per-segment opacity.
- Day/night tint, station markers, signal indicators, train + carriage rendering all ported.
Other changes
- Stripped leaflet, react-leaflet, protomaps-leaflet, @types/leaflet from dependencies (1.5 MB smaller bundle).
- Custom Tauri PMTiles protocol handler with a 4-tile concurrency cap.
- Rust panic hook now writes to freeze.log so future hangs leave a trail.
Thank you again for the support!
