A route section through a country.
Use it to identify which countries the route traverses, for:
The two-letter ISO 3166-1 alpha-2 country code, such as 'US', 'GB', 'NL', 'DE' or 'FR'.
ISO 3166-1 alpha-2 codes
The three-letter ISO 3166-1 alpha-3 country code, such as 'USA', 'GBR', 'NLD', 'DEU' or 'FRA'.
ISO 3166-1 alpha-3 codes
const countrySection: CountrySectionProps = { id: 'country-section-1', startPointIndex: 0, endPointIndex: 150, countryCodeISO2: 'NL', // Netherlands countryCodeISO3: 'NLD',}; Copy
const countrySection: CountrySectionProps = { id: 'country-section-1', startPointIndex: 0, endPointIndex: 150, countryCodeISO2: 'NL', // Netherlands countryCodeISO3: 'NLD',};
A route section through a country.
Use it to identify which countries the route traverses, for: