Skip to content

Signal

Map

Vehicle positions

Live vehicle markers, bearings, staleness and selection.

Live trains and buses on the map for the open stop. Markers follow the Map pattern.

Marker

A pin in the route colour whose tip points the way of travel, with an open chevron inside the tip and the Signal glyph upright at the centre. A line fill under 3:1 on Map ground adds a hairline in the line's map keyline outside the white keyline. Every example on this page is drawn by vehicleMarkerSVG in the map module (contract); vehiclePresentation returns the same SVG for the app.

To change the marker: edit vehicle and states.vehicle in tokens/map.json, run go generate ./..., and update the locked SVGs in tests/fixtures/vehicle-*.svg in the same change.

Bus and train

Light map

BusRedBlueBrownGreenOrangePurplePinkYellow

Dark map

BusRedBlueBrownGreenOrangePurplePinkYellow

Selection

Selected grows to 1.25× about the centre, with no halo. Other vehicles leave the map while one is selected.

Light map

BusBus · selectedRedRed · selectedBlueBlue · selected

Dark map

BusBus · selectedRedRed · selectedBlueBlue · selected

Bearing

Heading in degrees, north 0, clockwise. The pin and chevron turn about the circle centre; the glyph stays upright. With no heading the marker is a plain circle.

Light map

0°45°90°135°180°225°270°315°No heading

Dark map

0°45°90°135°180°225°270°315°No heading

By zoom

From z13 the full marker, 23 px at z13 growing to 25 at z18. Below z13 the far marker: no glyph or chevron, the pin alone, 8 px at z9 to 13 at z13, and a plain circle with no tip at z12 and below. Sizes interpolate between stops, so the swap at z13 is the only jump; it crossfades over 150 ms (instant under Reduce Motion). A selected vehicle keeps the full marker at every zoom. Sizes shown are the body in px.

Light map

z9 · 8z12 · 11.5z12.5 · 12.25z13 · 23z15 · 24z18 · 25
z9 · 8z12 · 11.5z12.5 · 12.25z13 · 23z15 · 24z18 · 25
z9 · selectedz12 · selectedz15 · selected

Dark map

z9 · 8z12 · 11.5z12.5 · 12.25z13 · 23z15 · 24z18 · 25
z9 · 8z12 · 11.5z12.5 · 12.25z13 · 23z15 · 24z18 · 25
z9 · selectedz12 · selectedz15 · selected

On the map

Light map

Dark map

Rules

PartRule
UnitsPin units: the circle radius is 12 (vehicle.pin.radius), half the body, so the pin scales with the body.
BodyCircle in the line colour (train) or Brand (bus): 23 pt at z13, 24 at z15, 25 at z18 (vehicle.body). Its centre is the map anchor and the rotation point.
FarBelow z13 (zoom.vehicles): the pin alone, no glyph or chevron, 8 pt at z9, 10 at z11, 13 at z13 (vehicle.far.body), its tip 1.5 × radius and keyline 3 (vehicle.far). A plain circle at z12 and below (vehicle.far.circleMaxZoom). Crossfades to the full marker over 150 ms (vehicle.far.crossfade).
TipTangent lines from the circle meeting 1.35 × radius from the centre (vehicle.pin.tip), rounded over the last 2.2 (vehicle.pin.tipRound). Points the way of travel.
Keyline1.5 of Always White outside the pin (vehicle.keyline), the same in light and dark.
ChevronOpen V in the glyph colour, round caps and join: 6 wide, 2.75 deep, 1.6 stroke, its apex 4.6 in from the tip (vehicle.chevron).
GlyphSignal train or bus icon, 0.57 × the body (vehicle.glyphRatio), upright at the centre, on the full marker only. White on most lines, Always Ink on Blue, Pink and Yellow; On Brand on buses.
SelectedScales 1.25 (states.vehicle.selected.scale) and keeps the full marker at every zoom. No halo, shadow or glow.
CanvasSquare, centred on the circle, sized for the tip at any heading, so the marker never resizes as it turns.
Never grayNo vehicle is drawn gray or Muted. A train whose line is unknown is Ink with a Paper glyph.
StaleDrawn like a live vehicle: solid, its own colours, never faded. VoiceOver adds “Location may be out of date”.
No headingA plain circle with no tip or chevron, rather than imply a direction.
Route numberNot drawn on the marker: it is in the arrival row and the VoiceOver label.

Scope

RuleBehavior
ShownOnly while a stop sheet is open: every vehicle on that stop’s routes at every zoom: the far marker below z13, the full marker from z13 (see By zoom). With no stop open the map draws no vehicles.
SnappingTrains sit on their own lane, buses on their route. A vehicle with no line geometry to snap to is drawn at its reported point.
Tap an arrivalTapping an arrival row selects its vehicle and pans the map to it, keeping zoom, placed in the map area above the visible sheet. With no live vehicle for that arrival, a light haptic and no camera move.
BudgetThe train and bus CTA keys each allow 100,000 calls a day. The bus vehicle quota guard doubles the refresh interval at 70% and serves cached positions only at 90%.
Not interactiveVehicle markers take no taps. There is no vehicle callout, Approaching strip or +N stacking.

Freshness and selection

StateMarker
Live · 0–60 sSolid body in the line color (train) or Brand (bus).
Stale · 61–120 sUnchanged on the map: solid, its own colors, in place; never faded or gray. VoiceOver adds “Location may be out of date”.
Gone · > 120 sRemoved. Never drawn past 2 minutes.
SelectedThe marker scales to 1.25 (selection) on a 0.3 s spring with no bounce (stations use the same spring). Instant under Reduce Motion.

Motion

EventStandardReduce Motion
New fixSlide along the snapped geometry; the pin and chevron turn along the shortest arc; the glyph stays upright.Jump
EffectsNo pulse, trail, shadow or glow.Same

Accessibility

ElementVoiceOver label
Train marker“Red Line train to Howard. Next stop Belmont, 2 minutes. Updated 15s ago.” Not a button.
Bus marker“Route 22 bus to Harrison. Delayed. Next stop Clark and Armitage, due. Updated 1 min ago. Location may be out of date.” “Delayed” and “out of date” only when they apply.
UpdatesPosition refreshes never post announcements.