setMaxSquareKm property

set setMaxSquareKm (int value)

Sets the maximum area size (in square kilometers) allowed for downloads.

Use this setter to limit how large a requested download area can be. If a subsequent startDownload request exceeds this value it will not start and the completion callback will receive GemError.outOfRange.

Parameters

  • value: (int) The maximum area size in square kilometers.

Implementation

set setMaxSquareKm(int value) {
  objectMethod(
    pointerId,
    'MapDownloaderService',
    'setMaxSquareKm',
    args: value,
  );
}