node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


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