UNPKG

node-js-marker-clusterer

Version:

Wrapper of js-marker-clusterer for node usage from the original https://github.com/googlemaps/js-marker-clusterer

21 lines (13 loc) 753 B
Node Marker Clusterer ============== A Google Maps JavaScript API v3 library to create and manage per-zoom-level clusters for large amounts of markers. Converted to [commonJS](http://www.commonjs.org/) format to be used with [browserify](http://browserify.org/) and added additional unit test to ensure the constructor gets instantiated and contains the original public methods. ## Install ```npm install node-js-marker-clusterer``` ## Usage ```var MarkerClusterer = require('node-js-marker-clusterer');``` ```var mc = new MarkerClusterer(map, markers);``` ## Docs The logic of the module it's unchanged and it's forked from it's original author from [js-marker-clusterer](https://github.com/googlemaps/js-marker-clusterer) ## License Apache 2.0