TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ImportantRoadStretchProps

    ImportantRoadStretchProps: SectionProps & {
        index: number;
        roadNumbers?: string[];
        streetName?: string;
    }

    Sections with important stretches of road information.

    • It provides a set of street names and/or a set of road numbers that allow the driver to identify and distinguish the course of the route (from other potential routes).

    Type Declaration

    • index: number

      The integer value of importance. The index starts from 0, and a lower value means higher importance. The index is needed for two reasons:

      • To understand which stretch is the most important (for example, if it is necessary to display a smaller number of stretches).
      • To group different sections that belong to the same stretch (since there may be gaps in one stretch for various reasons).
    • OptionalroadNumbers?: string[]

      A set of road numbers that identify the important road stretch.

      The road numbers are sorted in descending order of display priority.

    • OptionalstreetName?: string

      The street name of the important road stretch.