AbstractStaticallReturns a list with metadata for all countries known to the SDK.
Country metadata objects. Image objects may be undefined when a flag is not available for a country
StaticlatestReturns the latest available online map version known to the SDK.
Latest online map version metadata
StaticmapReturns the currently installed map data version.
Version object describing the installed map data
StaticgetReturns the geographic bounding rectangle for a country code.
ISO 3166-1 alpha-3 country code
The country's bounding rectangle in WGS84 coordinates
StaticgetReturns the ISO 3166-1 alpha-3 country code for the supplied WGS84 coordinates.
The method returns an empty string when the coordinates do not fall within any recognised country.
WGS84 coordinates
ISO 3166-1 alpha-3 country code, or an empty string
StaticgetReturns the ISO 3166-1 alpha-3 country code for an internal index.
Country index
ISO 3166-1 alpha-3 country code, or an empty string
StaticgetReturns country metadata for the supplied country ID.
Internal country identifier
A CountryData instance when available, otherwise undefined
StaticgetReturns the number of country entries available in the SDK.
Total count of country data entries
StaticgetReturns raw image bytes for the country flag by ISO 3166-1 alpha-3 code.
If the provided countryCode is invalid a default question-mark image may be returned by the platform implementation.
ISO 3166-1 alpha-3 code of the country
Optionalsize: { height: number; width: number }Optional desired image size
Optionalformat: ImageFileFormatOptional image format
Raw image bytes for the flag, or undefined if unavailable
StaticgetReturns the country flag image bytes for the specified country index.
Internal country index
Optionalsize: { height: number; width: number }Optional desired image size. If omitted the image's natural size is returned
Optionalformat: ImageFileFormatOptional image format
Raw image bytes for the flag, or undefined if unavailable
StaticgetGet the country flag image by ISO code as an Img.
Prefer Img when you need SDK-managed metadata (uid, recommended size/aspectRatio, scalability) or to request raw image bytes; use getCountryFlag when you only need raw image bytes.
ISO 3166-1 alpha-3 code
The Img object representing the flag, or undefined if not available
StaticgetGet the country flag image by index as an Img.
Prefer Img when you need SDK-managed metadata (uid, recommended size/aspectRatio, scalability) or to request raw image bytes; use getCountryFlagByIndex when you only need raw image bytes.
Country index
An Img object when available, otherwise undefined
StaticgetReturns 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.
ISO 3166-1 alpha-3 country code (for example, USA)
Coverage status for the specified country
StaticgetReturns the display name of the country that contains the coordinates.
WGS84 coordinate
The country name, or an empty string if none is found
StaticgetReturns the country name associated with an internal country index.
Internal country index
The country name for the given index
StaticgetReturns the country name for the supplied ISO 3166-1 alpha-3 code.
ISO 3166-1 alpha-3 country code
The country name for the given code
StaticgetReturns language codes for the country that contains the coordinates.
Returns an empty list when the coordinates do not map to a known country.
WGS84 coordinates
Language ISO codes for the country, or an empty list
StaticgetReturns language codes for the country with the given index.
Country index
A list of language ISO codes
StaticgetReturns 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.
List of WGS84 coordinates that define the region of interest
Enum value describing the coverage status for the supplied region
StaticgetReturns the set of extended map capabilities enabled for the current map data.
A set containing enabled capabilities
StaticgetReturns a list of available map provider IDs present on the device.
Integer IDs corresponding to MapProviderId values. The list may be empty if no map data is present
StaticgetReturns the map release date/time in UTC.
UTC timestamp representing the map release instant
StaticgetReturns the map coverage status for a single WGS84 coordinate.
This convenience helper evaluates coverage for a single point using only device-local information.
WGS84 coordinate to check
Enum value describing the coverage status for the supplied coordinate
StaticgetReturns the display name for a map provider.
Provider identifier
Provider name
StaticgetReturns the copyright or attribution sentence for a provider.
Use this text when displaying attribution for map tiles or provider content.
Provider identifier
Copyright/attribution sentence for the provider
StaticgetReturns the sunrise and sunset times (UTC) for the supplied position and reference date.
The returned times are in UTC. Near the poles the sunrise or sunset may fall on a different calendar day; callers should treat these values as UTC instants.
WGS84 coordinates for the location
Reference date/time (used to compute seasonal sunrise/sunset times)
Tuple where the first element is sunrise (UTC) and the second is sunset (UTC)
StaticisReturns whether it is night at the given coordinates and reference time.
WGS84 coordinates
Reference time
True if it is night at the specified location/time, false otherwise
Utilities for querying map metadata, coverage and country information.
The static MapDetails API provides read-only helpers to inspect local map coverage, obtain country names and flags, compute sunrise/sunset times, enumerate map providers, and fetch version/release information.
See
CountryData - Compact country metadata including name, ISO code and flag.