Home > @magiclane/maps-sdk > CountryData
CountryData class
Compact country metadata including display name, ISO code and flag.
This value object is returned by several MapDetails helpers (for example, MapDetails.getCountryData and MapDetails.allCountriesData) and can be used by clients to display country information or retrieve flag images.
Signature:
export declare class CountryData Constructors
Constructor | Modifiers | Description |
|---|---|---|
Creates a CountryData instance. API users do not typically construct this object directly. |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| Img | undefined | (Optional) | |
| string | ||
| string |
Methods
Method | Modifiers | Description |
|---|---|---|
Equality comparison | ||
Hash code calculation |