TomTom Maps for JavaScript
    Preparing search index...

    Type Alias SectionProps

    Base properties for all route sections.

    Sections divide a route into portions with specific characteristics or attributes. All section types extend this base with additional specialized properties.

    type SectionProps = {
        endPointIndex: number;
        id: string;
        startPointIndex: number;
    }
    Index

    Properties

    endPointIndex: number

    Index of the route coordinate where this section ends (inclusive).

    Zero-based index into the route's LineString coordinates array.

    id: string

    Unique identifier for this section.

    Randomly generated to distinguish between sections.

    startPointIndex: number

    Index of the route coordinate where this section begins.

    Zero-based index into the route's LineString coordinates array.