MapRegionsAfrica: {
    Algeria: Country;
    Angola: Country;
    Benin: Country;
    Botswana: Country;
    Burkina Faso: Country;
    Burundi: Country;
    Cameroon: Country;
    Cape Verde: Country;
    Central African Republic: Country;
    Chad: Country;
    Comoros: Country;
    Democratic Republic of the Congo: Country;
    Djibouti: Country;
    Egypt: Country;
    Equatorial Guinea: Country;
    Eritrea: Country;
    Ethiopia: Country;
    Gabon: Country;
    Gambia: Country;
    Ghana: Country;
    Guinea: Country;
    Guinea Bissau: Country;
    Israel: Country;
    Ivory Coast: Country;
    Jordan: Country;
    Kenya: Country;
    Lebanon: Country;
    Lesotho: Country;
    Liberia: Country;
    Libya: Country;
    Madagascar: Country;
    Malawi: Country;
    Mali: Country;
    Malta: Country;
    Mauritania: Country;
    Mauritius: Country;
    Morocco: Country;
    Mozambique: Country;
    Namibia: Country;
    Niger: Country;
    Nigeria: Country;
    Oman: Country;
    Republic of Congo: Country;
    Rwanda: Country;
    Saint Helena: Country;
    Saudi Arabia: Country;
    Senegal: Country;
    Seychelles: Country;
    Sierra Leone: Country;
    Somalia: Country;
    South Africa: Country;
    South Sudan: Country;
    Sudan: Country;
    Swaziland: Country;
    Syria: Country;
    Togo: Country;
    Tunisia: Country;
    Uganda: Country;
    United Republic of Tanzania: Country;
    Western Sahara: Country;
    Yemen: Country;
    Zambia: Country;
    Zimbabwe: Country;
} = ...

List of MapRegions included in MapTypes.Africa.

Can be referenced like so:

const countries = MapRegions[ MapTypes.Africa ]

Each item is an enum-like object, that can be used with MapChart API to specify any region.

Example usage:

  • Invalidate selected region value.
 MapChart.invalidateRegionValues([
{ ...MapRegions[ MapTypes.Africa ].Egypt, value: 0 }
])
  • List all region names (can be useful when developing a js application without intellisense).
 Object.keys( MapRegions[ MapTypes.Africa ] ).forEach( key => console.log( key ) )

Note, that the list includes all countries that are visible on the MapChart, some of which are outside the continent of Africa.

Type declaration