MapTypes: {
    Africa: "Africa";
    Asia: "Asia";
    Australia: "Australia";
    Canada: "Canada";
    Europe: "Europe";
    NorthAmerica: "NorthAmerica";
    SouthAmerica: "SouthAmerica";
    USA: "USA";
    World: "World";
} = ...

Collection of MapChart types for selecting a section of the world to show.

Map type is selected when the MapChart is created, with the type argument:

 // Example, specify map type.
const mapChart = lightningChart().Map({
type: MapTypes.Europe,
})

Type declaration

  • Africa: "Africa"

    Map of Africa, with regions as countries.

  • Asia: "Asia"

    Map of Asia, with regions as countries.

  • Australia: "Australia"

    Map of Australia, with regions as Australian territories.

  • Canada: "Canada"

    Map of Canada, with regions as Canadian provinces and territories.

  • Europe: "Europe"

    Map of Europe, with regions as countries.

  • NorthAmerica: "NorthAmerica"

    Map of North America, with regions as countries.

  • SouthAmerica: "SouthAmerica"

    Map of South America, with regions as countries.

  • USA: "USA"

    Map of the United States of America with regions as states.

  • World: "World"

    Map of whole world, with regions as countries.