getPointMapCoverage static method

MapCoverage getPointMapCoverage(
  1. Coordinates coords
)

Returns the map coverage status for a single WGS84 coordinate.

This convenience helper evaluates coverage for a single point using only device-local information.

Parameters

  • coords: (Coordinates) WGS84 coordinate to check.

Returns

  • (MapCoverage) Enum value describing the coverage status for the supplied coordinate.

Implementation

static MapCoverage getPointMapCoverage(final Coordinates coords) {
  final OperationResult resultString = staticMethod(
    'MapDetails',
    'getPointMapCoverage',
    args: coords,
  );

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