Map
Zoom ramps
Zoom bands and every map size at each zoom, from tokens/map.json.
Every map size at each zoom stop, evaluated from tokens/map.json. Between stops sizes interpolate exponentially (base 2); scales and opacities linearly. Values hold beyond the first and last stop.
Bands
| Band or element | Zoom (512 px tiles) |
|---|---|
| Far band | From z9: thin lanes, simple station dots, no chevrons |
| Mid band | From z13: brand-logo station marks and labels, walking transfers (if on), upcoming-stop times; Loop chevrons from z15 |
| Near band | From z16: wide lanes, bus stops (from z14.8), bus-stop direction chevrons (from z17) |
| Train lanes | z9 |
| Station circles | From z10.5 (non-Loop) |
| Connected station marks | From z12.01 (bridges, links, Loop circles); same geometry at every zoom |
| Vehicles | Far circle from z9 (no tip to z12); full marker with glyph from z13 |
| Map-centre placeholder | From z12, a constant 21 pt |
| Ramps end | z18; values hold beyond the last stop |
Ramps
| Size (px) | z10 | z12 | z13 | z14 | z15 | z16 | z17 | z18 | Token |
|---|---|---|---|---|---|---|---|---|---|
| Lane width | 2 | 3.5 | 5 | 7 | 9 | 11 | 14 | 18 | lane.width |
| Lane spacing (centre to centre) | 2 | 3.5 | 5 | 7 | 9 | 11 | 14 | 18 | lane.spacing |
| Lane casing, per side | 0.75 | 0.75 | 0.5 | 0.5 | 0 | 0 | 0 | 0 | lane.casingPerSide |
| Station circle, diameter | — | 4.5 | 5.5 | 7.5 | 9.5 | 11.5 | 14.5 | 18.5 | station.dotDiameter |
| Station outline | — | 1.75 | 2 | 2.25 | 2.5 | 3 | 3.5 | 4 | station.outline |
| Station bridge | — | — | 2.25 | 3 | 3.75 | 4.5 | 5.75 | 7.5 | station.bridgeWidth |
| Loop chevron, across the lane | — | — | — | — | 7.2 | 8.8 | 11.2 | 14.4 | loopChevron.acrossLane × lane.width |
| Walking transfer, outline | — | — | 5 | 5.67 | 7 | 8 | 10 | 10 | walkingTransfer.outlineWidth |
| Bus stop side | — | — | — | — | 10.25 | 12.17 | 16 | 32 | busStop.side |
| Vehicle, far circle (no glyph) | 9 | 11.5 | — | — | — | — | — | — | vehicle.far.body |
| Vehicle body | — | — | 23 | 23.5 | 24 | 24.33 | 24.67 | 25 | vehicle.body |
| Selected way ahead | 4 | 7 | 10 | 14 | 18 | 22 | 28 | 36 | selection.laneScale × lane.width |
Lane offset = −laneOffset × lane spacing; how lanes are placed is on Line rendering. Station circles, the selected way ahead and lane-seated vehicles use the same offset, so they sit on the drawn lane at every zoom.
Recorded values
| Value | Rule |
|---|---|
| Vehicle body | Sizes in Ramps above (vehicle.far.body, vehicle.body). The body is separate from its minimum 44 pt hit target. |