@highcharts/map-collection
Highmaps Map Collection
$ cnpm install @highcharts/map-collection 
SYNC missed versions from official npm registry.

Highmaps - Map Collection

Website | API | Demo | Issues

License

The use of the maps in this collection requires that you follow our terms and conditions that are stated in License.md.

Installation

Install from our CDN

All our maps can be loaded from code.highcharts.com/mapdata. The following example loads the map custom/world.js:

<script src="https://code.highcharts.com/mapdata/custom/world.js"></script>

After the map is loaded in the browser then you can use it in Highmaps as following:

Highcharts.mapChart('container', {
  chart: {
    map: 'custom/world'
  },
  // ...
});

Install from npm

npm i @highcharts/map-collection

To load a map in Node.js and use it in Highmaps you can do the following:

var Highcharts = require('highcharts/highmaps.js'),
    map = require('@highcharts/map-collection/custom/world.geo.json');

Highcharts.mapChart('container', {
  chart: {
    map: geojson
  },
  // ...
});

Current Tags

  • 1.1.3                                ...           latest (a month ago)

2 Versions

  • 1.1.3                                ...           a month ago
  • 1.1.2                                ...           a year ago
Downloads
Today 0
This Week 80
This Month 128
Last Day 26
Last Week 26
Last Month 97
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |