ns-ui / chain-scale
The zoom control is the scale bar
Grab the handle at the bar's end and stretch it — the map zooms so the printed distance is always a round, sayable number. Between denominations the bar keeps growing under your pointer; at each crossing it springs to the new fraction of its width and the checkerboard re-subdivides.
1 px = 1.0 m on the ground
Map scale
Scale: 100 metres. 1 pixel equals 1.0 m.
drag the handle or scroll the wheel over it to zoom · arrows step one round denomination · double-click resets to 3/4 width