Registry

registerMap() with our own GeoJSON (a fictional island with four districts), then used by name.

Chart type
Map map
Tier
Premium
Collection
Maps
Render
Live, site theme
View .md Agent setup
LIVE/maps/registry11 of 27 in Maps

Configuration

Raw Standalone
const options = {
  chart: {
    height: 420,
    toolbar: {
      show: false
    },
    type: "map"
  },
  series: [
    {
      name: "Residents",
      data: [
        {
          id: "N",
          value: 1200
        },
        {
          id: "E",
          value: 3400
        },
        {
          id: "S",
          value: 800
        },
        {
          id: "Harbour",
          value: 5100
        }
      ]
    }
  ],
  plotOptions: {
    map: {
      map: "demo-island",
      projection: "equirectangular",
      sphere: false
    }
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

const chart = new WestCoastCharts(document.querySelector('#chart'), options)
chart.render()

This example uses Premium modules. Compare licences · Embedding in a distributed product?