A Google Maps JavaScript API v3 library to create and manage per-zoom-level clusters for large amounts of markers.
Converted to commonJS format to be used with browserify and added additional unit test to ensure the constructor gets instantiated and contains the original public methods.
npm install node-js-marker-clusterer
var MarkerClusterer = require('node-js-marker-clusterer');
var mc = new MarkerClusterer(map, markers);
Requires mocha and then dependecies from package.json to be installed, then:
npm test
The logic of the module it's unchanged and it's forked from it's original author from js-marker-clusterer
Apache 2.0