Home > @magiclane/maps-sdk > MapDetails > getCountryMapCoverage

MapDetails.getCountryMapCoverage() method

Returns the map coverage status for a country identified by its ISO code.

The check is performed locally and is fast. Use the returned value to determine whether offline tiles exist for the whole country.

Signature:

static getCountryMapCoverage(code: string): MapCoverage;

Parameters

Parameter

Type

Description

code

string

ISO 3166-1 alpha-3 country code (for example, USA)

Returns:

MapCoverage

Coverage status for the specified country