1.1.0 • Published 10 years ago

interactive-earth-points v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

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]);
1.1.0

10 years ago

1.0.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago