Skip to main content

Navigation

TurnByTurn Control

The TurnByTurn Control is designed as an overlay to provide information about the distance to the next turn in the following way:

  • Absolute distance
    • Value and unit of absolute distance to the next turn, the value gets automatically rounded to the next 10.
  • Relative distance
    • Bargraph indicating the distance to the next turn from 100 to 0. The colour of the bargraph can be changed if the next turn gets close.
  • Street name
    • Name of the street related to the next turn
  • Direction icon
    • Icon to indicate the type of the next turn
drawing-4-1762219701.png
Properties
Property Name
Type
Description
Show Street Name bool Whether or not the street name is shown
Show Relative Indication
bool
Whether or not the bargraph indicating the relative distance to next turn is shown
Show Absolute Indication bool Whether or not the absolute value for the distance to the next turn is shown
Text Style TextStyle The text style of street and distance value
Text Style Unit TextStyle The text style of the distance unit
Street Name String Street name
Distance To Turn UInt32 Absolute distance to the next turn, the value is automatically rounded to the nearest 10.
Relative Distance Value Float in range [0, 100] Relative distance to the next turn, indicated by the bargraph
Distance Unit Text String Unit of the absolute value
Direction Icon Index UInt8 Index of direction icons, see also Direction Images
Direction Images Array of Images Array of turn by turn icons, the displayed icon is set via the "Direction Icon Index" property
Total Bargraph Size Float Size of the total bargraph (active + background part)
Max Active Bargraph Size Float Maximum size of the bargraph indicating the distance ("Relative Distance Value" == 100)
Color Change Threshold UInt8 Threshold to indicate that the next turn is close, the bargraph color will change to "Bargraph Color Below Threshold"
Bargraph Color Normal Color Color of the bargraph if not close to the turn, determined by the "Value Close To Turn" property
Bargraph Color Below Threshold Color Color of the bargraph if close to the turn, determined by the "Color Change Threshold" property
Bargraph Background Color Color Color of the bargraph background
Max Street Name Text Size UInt32 Maximum size of the street name text