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 color of the bargraph can be changed if the turn gets close.
  • Street name
    • Name of the street of the next turn
  • Direction icon
    • Icon to indicate the type of the next turn
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 is shown for the distance to next turn
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] Indicates the relative distance to the next turn
Distance Unit Text String Unit
Direction Icon Index UInt8 Index of direction icons, see also DirectionImages
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 (i.e. "Relative Distance Value" == 100)
Bargraph Color Normal Color Color of the bargraph if not close to the turn, determined by the "Value Close To Turn" property
Bargraph Color Close To Turn Color Color of the bargraph if close to the turn, determined by the "Value Close To Turn" property
Bargraph Background Color Color Color of the bargraph background
Value Close To Turn Float Threshold to indicate that the next turn is close.
Max Street Name Text Size Float Maximum size of the street name text