Variable MapRegionsNordicsConst

MapRegionsNordics: {
    Aland: Country;
    Belarus: Country;
    Denmark: Country;
    Estonia: Country;
    Faroe Islands: Country;
    Finland: Country;
    Germany: Country;
    Iceland: Country;
    Ireland: Country;
    Latvia: Country;
    Lithuania: Country;
    Norway: Country;
    Poland: Country;
    Russia: Country;
    Sweden: Country;
    United Kingdom: Country;
} = ...

List of MapRegions included in MapTypes.Nordics.

Can be referenced like so:

const countries = MapRegions[ MapTypes.Nordics ]

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

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

Type declaration