The key when working with trip planners is to think of "the map" on two
different levels. What you see immediately in the web UI are map tiles,
which are pre-rendered 255x255 pixel images. Often tile sets cover the
whole Earth or a significant part of it, but are purely visual.
The tile sets we use are generated from OpenStreetMap data. There are
many ways to render the same map data into an image, depending on which
features you want to highlight (bike facilities, hiking trails, car
roads) and which external data you've added (e.g. elevation for hill
shading).
The other level is the underlying OpenStreetMap and GTFS data understood
topologically: which streets are directly connected to which other
streets, which transit stops can be reached by a single hop from which
other transit stops. This is the data actually used to perform the routing.
-Andrew