interactive-earth-points

1.1.0 • Public • Published

Interactive Earth Points

Display multiple points on an interactive earth.

See the Interactive Earth Handbook for an example of how to group interactive-earth modules together into a visualisation.

var sites = [
  {
    type: 'Point',
    coordinates: [174.868542, -37.800608],
    text: 'MetOcean, Raglan'
  },
  {
    type: 'Point',
    coordinates: [-122.0329646, 37.332112],
    text: 'Apple, Cupertino'
  }
];

var points = require('interactive-earth-points');
var pointsLayer = points({
    classname: 'points',
    radius: '15',
    points: sites
});

...

layers.push(['points', pointsLayer]);

Readme

Keywords

none

Package Sidebar

Install

npm i interactive-earth-points

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • ascendzor
  • tcoats