1.1.0 • Published 8 years ago

interactive-earth-points v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.0

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago