docs(directions): scope the distance rounding threshold precisely

This commit is contained in:
Sameh Khamis committed 2026-10-25 08:50:11 -07:00
1 parent 455dbf2b5f
commit 48e649a95e
1 file changed
+3 -3
+3 -3
View File
@@ -4081,9 +4081,9 @@ routing it shows `Routing…`, and a router miss reads
The layer holds continuous render only while a route is drawn (the dashes
animate). Disable clears all state.
Route distance labels round to the nearest ten metres before selecting the
unit, switching to kilometres at 995 metres; a 996-metre leg displays as
`1.0 km` rather than `1000 m`.
At the metre/kilometre boundary, route distance labels use the rounded
ten-metre value to select the unit, switching to kilometres at 995 metres;
a 996-metre leg displays as `1.0 km` rather than `1000 m`.
**Keys needed: none.** Directions works on a keyless boot, and the layer is off
until the operator turns it on.