TomTom Maps for JavaScript
    Preparing search index...

    Type Alias CountrySectionProps

    CountrySectionProps: SectionProps & { countryCodeISO3: string }

    Route section representing passage through a country.

    Used to identify which countries the route traverses, useful for:

    • Border crossing planning
    • International routing costs
    • Regulatory requirements

    Type Declaration

    • countryCodeISO3: string

      Three-letter ISO 3166-1 alpha-3 country code.

      Examples: 'USA', 'GBR', 'NLD', 'DEU', 'FRA'

    const countrySection: CountrySectionProps = {
    id: 'country-section-1',
    startPointIndex: 0,
    endPointIndex: 150,
    countryCodeISO3: 'NLD', // Netherlands
    lengthInMeters: 25000
    };