Skip to content

User SlopeTextIndicator

roosit edited this page Nov 15, 2026 · 4 revisions

Slope Text

Back to list | JSON template | Русский

What it does

Shows text about the current section of the route: climb, descent or flat, the slope percentage, the distance covered within the section, the length of the section, the elevation difference, the current elevation, the gain and the loss. The text is built from a configurable template.

When to use it

  • As a compact caption of the current section next to "Elevation Chart".
  • To show the slope percentage and the elevation gain in the frame.
  • When you need your own text format, for example only an arrow and a percentage.

A source with slope data is needed. If no section is defined for the current point, the indicator shows nothing.

Settings

Setting What it does
Slope Chooses the source and the slope sensor.
Font Changes the text font: "Font Name", "Font Style" (plain, bold, italic), "Font Size" (48 by default) and "Color" (white by default).
Text Alignment The position of the text inside the layer: one of nine (corners, middles of the sides, center). The default is centered.
Units Chooses the units of distance and elevation.
Text Template Sets the text and the format of each variable.

Settings inside "Units":

Setting What it does
System "From global settings" (default), "Metric", "Imperial", "Nautical" or "Mixed".
Format How the unit is captioned: "Full (kilometers)", "Normal (km)", "Short" or "Symbol". Available when the system is not "from global settings".
Distance The distance unit (kilometers, meters, miles, etc.; the set depends on the system). Available when the system is not "from global settings".
Altitude "Meters" or "Feet". Available when the system is not "from global settings".

Skins

The ready-made text variants change only "Text Template"; your own template is replaced when a skin is selected.

Skin Text template
Short {typec} {pc}%: an arrow and a percentage.
Detailed {type} {pc}% ele:{ele}{eleUnit} up:{up}{eleUnit} down:{down}{eleUnit}: the type, the percentage, the current elevation, the gain and the loss.

Text template variables

The data is taken about the current slope section: a continuous stretch of the track of one type (climb, descent or flat).

Variable Default format What it shows
{type} %s The section type as a word: "Uphill", "Downhill", "Flat".
{typec} %s The section type as a symbol: ↑, ↓ or an empty string for flat.
{pc} %.1f The slope percentage of the section; negative on a descent.
{curr} %.3f The distance from the start of the section to the current point in the selected units.
{currUnit} %s The unit caption for {curr}.
{length} %.2f The full length of the section in the selected units.
{lengthUnit} %s The unit caption for {length}.
{height} %.0f The elevation difference over the whole section; negative on a descent.
{heightUnit} %s The unit caption for {height}.
{ele} %.0f The elevation at the current point.
{eleUnit} %s The elevation unit caption (meters or feet).
{eleCurr} %.1f How much the elevation changed from the start of the section to the current point (unsigned).
{up} %.0f The accumulated elevation gain up to the current point. Caption the unit with {eleUnit}.
{down} %.0f The accumulated elevation loss up to the current point, without a minus sign. Caption the unit with {eleUnit}.

The default template is {type} {pc}% ({curr}{currUnit} / {length}{lengthUnit}).

Tips

  • The text is output on one line; for long templates reduce the font size.
  • Distance units "from global settings" are chosen automatically (for example, meters for short sections and kilometers for long ones), so {currUnit} and {lengthUnit} can differ.
  • If you need only an icon and a percentage, choose the "Short" skin.
  • During a recording pause the text stays on the values of the last point before the pause.

Clone this wiki locally