Class StiIsoElementHelper
Methods
Static getCountryFromAlpha2
- getCountryFromAlpha2(alpha2: string, mapId?: string): StiIsoCountry
-
Parameters
-
alpha2: string
-
Default value mapId: string = null
Static getCountryFromAlpha3
- getCountryFromAlpha3(alpha3: string, mapId?: string): StiIsoCountry
-
Parameters
-
alpha3: string
-
Default value mapId: string = null
Static getCountryFromName
-
Parameters
-
name: string
-
Default value mapId: string = null
Static getIsoAlpha2FromName
- getIsoAlpha2FromName(name: string, mapId?: string): string
-
Parameters
-
name: string
-
Default value mapId: string = null
Returns string
Static getIsoAlpha3FromName
- getIsoAlpha3FromName(name: string, mapId?: string): string
-
Parameters
-
name: string
-
Default value mapId: string = null
Returns string
Obtain ISO3166-1 Country based on its alpha2 code.