TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ImportantRoadStretchProps

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

    A section on an important road stretch.

    Its street names, road numbers or both let the driver identify the course of the route and distinguish it from other potential routes.

    Type Declaration

    • index: number

      The importance as an integer, starting from 0, where a lower value means higher importance. Use it to:

      • Tell which stretch is the most important, for example to display fewer stretches.
      • Group the sections that belong to the same stretch, since one stretch may have gaps 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.