Variable MapRegionsSouthAmericaConst

MapRegionsSouthAmerica: {
    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;
} = ...

List of MapRegions included in MapTypes.SouthAmerica.

Can be referenced like so:

const countries = MapRegions[ MapTypes.SouthAmerica ]

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.SouthAmerica ].Colombia, value: 0 }
])
  • List all region names (can be useful when developing a js application without intellisense).
 Object.keys( MapRegions[ MapTypes.SouthAmerica ] ).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 South America.

Type declaration