MapRegions: {
    Africa: {
        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;
    };
    Asia: {
        Afghanistan: Country;
        Armenia: Country;
        Australia: Country;
        Azerbaijan: Country;
        Bahrain: Country;
        Bangladesh: Country;
        Bhutan: Country;
        Brunei: Country;
        Cambodia: Country;
        China: Country;
        Georgia: Country;
        India: Country;
        Indonesia: Country;
        Iran: Country;
        Iraq: Country;
        Israel: Country;
        Japan: Country;
        Jordan: Country;
        Kazakhstan: Country;
        Kuwait: Country;
        Kyrgyzstan: Country;
        Laos: Country;
        Lebanon: Country;
        Malaysia: Country;
        Maldives: Country;
        Mongolia: Country;
        Myanmar: Country;
        Nepal: Country;
        North Korea: Country;
        Oman: Country;
        Pakistan: Country;
        Palestine: Country;
        Papua New Guinea: Country;
        Philippines: Country;
        Qatar: Country;
        Russia: Country;
        Saudi Arabia: Country;
        Singapore: Country;
        South Korea: Country;
        Sri Lanka: Country;
        Syria: Country;
        Taiwan: Country;
        Tajikistan: Country;
        Thailand: Country;
        Turkey: Country;
        Turkmenistan: Country;
        United Arab Emirates: Country;
        Uzbekistan: Country;
        Vietnam: Country;
        Yemen: Country;
    };
    Australia: {
        Australian Capital Territory: AustraliaTerritory;
        New South Wales: AustraliaTerritory;
        Northern Territory: AustraliaTerritory;
        Other Territories: AustraliaTerritory;
        Queensland: AustraliaTerritory;
        South Australia: AustraliaTerritory;
        Tasmania: AustraliaTerritory;
        Victoria: AustraliaTerritory;
        Western Australia: AustraliaTerritory;
    };
    Canada: {
        Alberta: CanadaProvinceOrTerritory;
        British Columbia: CanadaProvinceOrTerritory;
        Manitoba: CanadaProvinceOrTerritory;
        New Brunswick: CanadaProvinceOrTerritory;
        Newfoundland and Labrador: CanadaProvinceOrTerritory;
        Northwest Territories: CanadaProvinceOrTerritory;
        Nova Scotia: CanadaProvinceOrTerritory;
        Nunavut: CanadaProvinceOrTerritory;
        Ontario: CanadaProvinceOrTerritory;
        Prince Edward Island: CanadaProvinceOrTerritory;
        Quebec: CanadaProvinceOrTerritory;
        Saskatchewan: CanadaProvinceOrTerritory;
        Yukon: CanadaProvinceOrTerritory;
    };
    Europe: {
        Albania: Country;
        Austria: Country;
        Belarus: Country;
        Belgium: Country;
        Bosnia and Herzegovina: Country;
        Bulgaria: Country;
        Croatia: Country;
        Cyprus: Country;
        Czech Republic: Country;
        Denmark: Country;
        Estonia: Country;
        Finland: Country;
        France: Country;
        Germany: Country;
        Greece: Country;
        Hungary: Country;
        Iceland: Country;
        Ireland: Country;
        Italy: Country;
        Kosovo: Country;
        Latvia: Country;
        Lithuania: Country;
        Luxembourg: Country;
        Macedonia: Country;
        Malta: Country;
        Moldova: Country;
        Montenegro: Country;
        Netherlands: Country;
        Norway: Country;
        Poland: Country;
        Portugal: Country;
        Republic of Serbia: Country;
        Romania: Country;
        Russia: Country;
        Slovakia: Country;
        Slovenia: Country;
        Spain: Country;
        Sweden: Country;
        Switzerland: Country;
        Turkey: Country;
        Ukraine: Country;
        United Kingdom: Country;
    };
    NorthAmerica: {
        Anguilla: Country;
        Antigua and Barbuda: Country;
        Barbados: Country;
        Bermuda: Country;
        British Virgin Islands: Country;
        Canada: Country;
        Cayman Islands: Country;
        Cuba: Country;
        Dominica: Country;
        Dominican Republic: Country;
        Greenland: Country;
        Grenada: Country;
        Haiti: Country;
        Jamaica: Country;
        Mexico: Country;
        Montserrat: Country;
        Puerto Rico: Country;
        Saint Kitts and Nevis: Country;
        Saint Lucia: Country;
        Saint Martin: Country;
        Saint Pierre and Miquelon: Country;
        Saint Vincent and the Grenadines: Country;
        The Bahamas: Country;
        Trinidad and Tobago: Country;
        Turks and Caicos Islands: Country;
        United States Virgin Islands: Country;
        United States of America: Country;
    };
    SouthAmerica: {
        Argentina: Country;
        Bolivia: Country;
        Brazil: Country;
        Chile: Country;
        Colombia: Country;
        Costa Rica: Country;
        Ecuador: Country;
        El Salvador: Country;
        Falkland Islands: Country;
        French Guyana: Country;
        Guatemala: Country;
        Guyana: Country;
        Honduras: Country;
        Nicaragua: Country;
        Panama: Country;
        Paraguay: Country;
        Peru: Country;
        Suriname: Country;
        Uruguay: Country;
        Venezuela: Country;
    };
    USA: {
        Alabama: State;
        Alaska: State;
        Arizona: State;
        Arkansas: State;
        California: State;
        Colorado: State;
        Connecticut: State;
        Delaware: State;
        District of Columbia: State;
        Florida: State;
        Georgia: State;
        Hawaii: State;
        Idaho: State;
        Illinois: State;
        Indiana: State;
        Iowa: State;
        Kansas: State;
        Kentucky: State;
        Louisiana: State;
        Maine: State;
        Maryland: State;
        Massachusetts: State;
        Michigan: State;
        Minnesota: State;
        Mississippi: State;
        Missouri: State;
        Montana: State;
        Nebraska: State;
        Nevada: State;
        New Hampshire: State;
        New Jersey: State;
        New Mexico: State;
        New York: State;
        North Carolina: State;
        North Dakota: State;
        Ohio: State;
        Oklahoma: State;
        Oregon: State;
        Pennsylvania: State;
        Rhode Island: State;
        South Carolina: State;
        South Dakota: State;
        Tennessee: State;
        Texas: State;
        Utah: State;
        Vermont: State;
        Virginia: State;
        Washington: State;
        West Virginia: State;
        Wisconsin: State;
        Wyoming: State;
    };
    World: {
        Afghanistan: Country;
        Akrotiri Sovereign Base Area: Country;
        Aland: Country;
        Albania: Country;
        Algeria: Country;
        American Samoa: Country;
        Andorra: Country;
        Angola: Country;
        Anguilla: Country;
        Antarctica: Country;
        Antigua and Barbuda: Country;
        Argentina: Country;
        Armenia: Country;
        Aruba: Country;
        Australia: Country;
        Austria: Country;
        Azerbaijan: Country;
        Bahrain: Country;
        Bangladesh: Country;
        Barbados: Country;
        Baykonur Cosmodrome: Country;
        Belarus: Country;
        Belgium: Country;
        Belize: Country;
        Benin: Country;
        Bermuda: Country;
        Bhutan: Country;
        Bolivia: Country;
        Bosnia and Herzegovina: Country;
        Botswana: Country;
        Brazil: Country;
        British Indian Ocean Territory: Country;
        British Virgin Islands: Country;
        Brunei: Country;
        Bulgaria: Country;
        Burkina Faso: Country;
        Burundi: Country;
        Cambodia: Country;
        Cameroon: Country;
        Canada: Country;
        Cape Verde: Country;
        Cayman Islands: Country;
        Central African Republic: Country;
        Chad: Country;
        Chile: Country;
        China: Country;
        Colombia: Country;
        Comoros: Country;
        Cook Islands: Country;
        Costa Rica: Country;
        Croatia: Country;
        Cuba: Country;
        Curaçao: Country;
        Cyprus: Country;
        Cyprus No Mans Area: Country;
        Czech Republic: Country;
        Democratic Republic of the Congo: Country;
        Denmark: Country;
        Dhekelia Sovereign Base Area: Country;
        Djibouti: Country;
        Dominica: Country;
        Dominican Republic: Country;
        East Timor: Country;
        Ecuador: Country;
        Egypt: Country;
        El Salvador: Country;
        Equatorial Guinea: Country;
        Eritrea: Country;
        Estonia: Country;
        Ethiopia: Country;
        Falkland Islands: Country;
        Faroe Islands: Country;
        Federated States of Micronesia: Country;
        Fiji: Country;
        Finland: Country;
        France: Country;
        French Guyana: Country;
        French Polynesia: Country;
        French Southern and Antarctic Lands: Country;
        Gabon: Country;
        Gambia: Country;
        Georgia: Country;
        Germany: Country;
        Ghana: Country;
        Greece: Country;
        Greenland: Country;
        Grenada: Country;
        Guam: Country;
        Guatemala: Country;
        Guernsey: Country;
        Guinea: Country;
        Guinea Bissau: Country;
        Guyana: Country;
        Haiti: Country;
        Heard Island and McDonald Islands: Country;
        Honduras: Country;
        Hong Kong S.A.R.: Country;
        Hungary: Country;
        Iceland: Country;
        India: Country;
        Indian Ocean Territories: Country;
        Indonesia: Country;
        Iran: Country;
        Iraq: Country;
        Ireland: Country;
        Isle of Man: Country;
        Israel: Country;
        Italy: Country;
        Ivory Coast: Country;
        Jamaica: Country;
        Japan: Country;
        Jersey: Country;
        Jordan: Country;
        Kazakhstan: Country;
        Kenya: Country;
        Kiribati: Country;
        Kosovo: Country;
        Kuwait: Country;
        Kyrgyzstan: Country;
        Laos: Country;
        Latvia: Country;
        Lebanon: Country;
        Lesotho: Country;
        Liberia: Country;
        Libya: Country;
        Liechtenstein: Country;
        Lithuania: Country;
        Luxembourg: Country;
        Macao S.A.R: Country;
        Macedonia: Country;
        Madagascar: Country;
        Malawi: Country;
        Malaysia: Country;
        Maldives: Country;
        Mali: Country;
        Malta: Country;
        Marshall Islands: Country;
        Mauritania: Country;
        Mauritius: Country;
        Mexico: Country;
        Moldova: Country;
        Mongolia: Country;
        Montenegro: Country;
        Montserrat: Country;
        Morocco: Country;
        Mozambique: Country;
        Myanmar: Country;
        Namibia: Country;
        Nepal: Country;
        Netherlands: Country;
        New Caledonia: Country;
        New Zealand: Country;
        Nicaragua: Country;
        Niger: Country;
        Nigeria: Country;
        Niue: Country;
        North Korea: Country;
        Northern Cyprus: Country;
        Northern Mariana Islands: Country;
        Norway: Country;
        Oman: Country;
        Pakistan: Country;
        Palau: Country;
        Palestine: Country;
        Panama: Country;
        Papua New Guinea: Country;
        Paraguay: Country;
        Peru: Country;
        Philippines: Country;
        Pitcairn Islands: Country;
        Poland: Country;
        Portugal: Country;
        Puerto Rico: Country;
        Qatar: Country;
        Republic of Congo: Country;
        Republic of Serbia: Country;
        Romania: Country;
        Russia: Country;
        Rwanda: Country;
        Saint Helena: Country;
        Saint Kitts and Nevis: Country;
        Saint Lucia: Country;
        Saint Martin: Country;
        Saint Pierre and Miquelon: Country;
        Saint Vincent and the Grenadines: Country;
        Samoa: Country;
        Sao Tome and Principe: Country;
        Saudi Arabia: Country;
        Senegal: Country;
        Seychelles: Country;
        Siachen Glacier: Country;
        Sierra Leone: Country;
        Singapore: Country;
        Slovakia: Country;
        Slovenia: Country;
        Solomon Islands: Country;
        Somalia: Country;
        South Africa: Country;
        South Georgia and South Sandwich Islands: Country;
        South Korea: Country;
        South Sudan: Country;
        Spain: Country;
        Spratly Islands: Country;
        Sri Lanka: Country;
        Sudan: Country;
        Suriname: Country;
        Swaziland: Country;
        Sweden: Country;
        Switzerland: Country;
        Syria: Country;
        Taiwan: Country;
        Tajikistan: Country;
        Thailand: Country;
        The Bahamas: Country;
        Togo: Country;
        Tonga: Country;
        Trinidad and Tobago: Country;
        Tunisia: Country;
        Turkey: Country;
        Turkmenistan: Country;
        Turks and Caicos Islands: Country;
        Tuvalu: Country;
        US Naval Base Guantanamo Bay: Country;
        Uganda: Country;
        Ukraine: Country;
        United Arab Emirates: Country;
        United Kingdom: Country;
        United Republic of Tanzania: Country;
        United States Minor Outlying Islands: Country;
        United States Virgin Islands: Country;
        United States of America: Country;
        Uruguay: Country;
        Uzbekistan: Country;
        Vanuatu: Country;
        Venezuela: Country;
        Vietnam: Country;
        Wallis and Futuna: Country;
        Western Sahara: Country;
        Yemen: Country;
        Zambia: Country;
        Zimbabwe: Country;
    };
} = ...

MapTypes pairing with a list of MapRegions the MapType includes.

For example, when using MapType.Europe, the list of available countries can be referenced with:

const countries = MapRegions[ MapTypes.Europe ]

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.Europe ].Finland, value: 0 }
])
  • List all region names (can be useful when developing a js application without intellisense).
 Object.keys( MapRegions[ MapTypes.Europe ] ).forEach( key => console.log( key ) )

Type declaration