Repository navigation
User DistanceTextIndicator
roosit edited this page Nov 15, 2026
·
4 revisions
Back to list | JSON template | Русский
Shows as text how far has been covered up to the current moment, and the full distance of the track. The units and the look of the string are configurable.
- For a "covered of total" caption on a video with a GPX track.
- For a compact distance counter next to speed or a map.
| Setting | What it does |
|---|---|
| Distance | Chooses the distance sensor. |
| Value font | The name, style, size and color of the text. The default is size 48, white. |
| Unit font | The name, style and size of the unit font. The default is size 28. In the current version the text is drawn with the value font, and this setting does not affect the look. |
| Text Alignment | The position of the text inside the layer: one of nine (centered by default). |
| Units | The measurement system, the format of the unit caption and the distance unit. |
| Text Template | A string with distance variables. |
The "Minimal" skin replaces the template with {currNum} {currUnit}: only the covered distance remains.
The values are already converted to the selected units. If the unit is not fixed, it is chosen automatically for each distance separately, so the current and the full distance can be in different units (for example, meters and kilometers).
| Variable | Default format | What it shows |
|---|---|---|
{currNum} |
%.2f |
The distance covered from the start of the track to the current moment. |
{currUnit} |
%s |
The unit of measurement for {currNum}. |
{fullNum} |
%.0f |
The full distance of the track. |
{fullUnit} |
%s |
The unit of measurement for {fullNum}. |
The default template is {currNum} {currUnit} of {fullNum} {fullUnit}.
- To remove the "of", change the template or turn on the "Minimal" skin.
- The unit caption format: "Full (kilometers)", "Normal (km)", "Short" or "Symbol".
- If the distance did not appear, check that the source has a distance sensor and that it is selected in the "Distance" setting.
- During a recording pause (a stop, a device auto-pause) the distance at the start of the pause is shown; outside the recording the text is empty.