getCountryCode static method
- Coordinates coords
Get the ISO 3166-1 alpha-3 country code for the specified WGS.
Empty string means no country. See: http://en.wikipedia.org/wiki/ISO_3166-1 for the list of codes.
Parameters
- IN coords The coordinates
Returns
- The country code as String
Throws
- An exception if it fails.
Implementation
static String getCountryCode(final Coordinates coords) {
final OperationResult resultString = objectMethod(
0,
'MapDetails',
'getCountryCode',
args: coords,
);
return resultString['result'];
}