is-marker-clusterer
v1.0.0
Published
Wrapper of js-marker-clusterer for node usage of Google Maps marker clustering from the original https://github.com/googlemaps/js-marker-clusterer
Downloads
81
Maintainers
Readme
Node Marker Clusterer for Google Maps Marker Clustering
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.
Install
yarn add is-marker-clusterer -D
Usage
import MarkerClusterer from 'is-marker-clusterer';
const MarkerClusterer = new MarkerClusterer(map, markers);
Run test
Requires mocha and then dependencies from package.json to be installed, then:
yarn test
Docs
The logic of the module it's unchanged and it's forked from it's original author from js-marker-clusterer
License
Apache 2.0