getMapCoverage static method

MapCoverage getMapCoverage(
  1. List<Coordinates> coords
)

Get the map coverage for the region specified by WGS84 coordinates.

This function checks the map coverage status using only the information available on the device. No server connection is performed. This check is performed quickly.

Parameters

  • IN coords The list of coordinates

Returns

Throws

  • An exception if it fails.

Implementation

static MapCoverage getMapCoverage(final List<Coordinates> coords) {
  final OperationResult resultString = objectMethod(
    0,
    'MapDetails',
    'getMapCoverage',
    args: coords,
  );

  return MapCoverageExtension.fromId(resultString['result']);
}