These maps use an OSM-derived basemap, Nominatim place lookup, and OSM-based routing for the legs that can be routed directly on roads and paths. Walking and driving routes now use separate road-footpath backends, while public transit and rack-rail legs are shown as dashed connectors because they need separate transit data.
file://. Serve it over local
HTTP instead. A simple option is python3 -m http.server in this
folder, then open http://localhost:8000/barcelona-route-maps.html.
The basemap no longer uses OpenStreetMap Foundation tile servers, but Nominatim
still expects a normal HTTP referrer.