Home > @magiclane/maps-sdk > MapDetails > getMapCoverage
MapDetails.getMapCoverage() method
Returns the map coverage status for a region defined by WGS84 coordinates.
This method performs a local check using only device data and does not perform any network requests. It is suitable for quickly determining whether map tiles for a region are available offline.
Signature:
static getMapCoverage(coords: Coordinates[]): MapCoverage;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
coords |
List of WGS84 coordinates that define the region of interest |
Returns:
Enum value describing the coverage status for the supplied region