Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 898 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 898 Bytes

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