currentCountryCodeISO property
ISO 3166-1 alpha-3 country code for the current road segment.
Returns the three-letter country code (e.g., "USA", "DEU", "GBR") for the road the user is currently traveling on. Returns an empty string if country information is unavailable.
Returns
- (String) ISO 3166-1 alpha-3 country code, or empty string if not available.
See also:
- nextCountryCodeISO - Country code for the next road segment.
- MapDetails - Querry details about a map by country code.
Implementation
String get currentCountryCodeISO {
final OperationResult resultString = objectMethod(
pointerId,
'NavigationInstruction',
'getCurrentCountryCodeISO',
);
return resultString['result'];
}