getCountryName static method

String getCountryName(
  1. Coordinates coords
)

Get the country name for the specified coordinates (WGS).

Parameters

  • IN coords The coordinates

Returns

  • Country name as string

Throws

  • An exception if it fails.

Implementation

static String getCountryName(final Coordinates coords) {
  final OperationResult resultString = objectMethod(
    0,
    'MapDetails',
    'getCountryName',
    args: coords,
  );

  return resultString['result'];
}