Route section representing passage through a country.
Used to identify which countries the route traverses, useful for:
Two-letter ISO 3166-1 alpha-2 country code.
Examples: 'US', 'GB', 'NL', 'DE', 'FR'
ISO 3166-1 alpha-2 codes
Three-letter ISO 3166-1 alpha-3 country code.
Examples: 'USA', 'GBR', 'NLD', 'DEU', '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',};
Route section representing passage through a country.
Used to identify which countries the route traverses, useful for: