Description
The Google Maps JavaScript MarkerClusterer library creates and manages clusters for large numbers of markers on a map. It builds clusters for each zoom level, so the map stays readable as you zoom in and out. The README explains that the library has a heritage in @google/markerclusterer and @googlemaps/markerclustererplus. It is distributed as the @googlemaps/markerclusterer npm package, and you can also add the UMD build directly to an HTML page from unpkg, where MarkerClusterer is available as markerClusterer.MarkerClusterer. TypeScript typings come from @types/google.maps, and the documentation is generated from the TypeScript definitions. To use it, you need a Google Maps Platform project with the Maps JavaScript API enabled and an API key for that project. The repository includes examples that compare the clustering algorithms and different renderers, which run from a development server on localhost port 8080 once you add your API key. A demo is linked from the README, and the source is on GitHub.…
Highlights
- Clusters markers for each zoom level
- Examples comparing algorithms and renderers
- npm package and UMD build
- TypeScript typings included
- Requires a Google Maps Platform API key
Ratings & Reviews
No ratings yet
Be the first to rate JS Markerclusterer.
People also visit
JS Markerclusterer FAQ
What does it do?
It groups large numbers of map markers into clusters that change with the zoom level.
How do I install it?
Install the @googlemaps/markerclusterer npm package, or add the UMD build from unpkg to your HTML page.
What do I need to use it?
A Google Maps Platform project with the Maps JavaScript API enabled, and an API key for that project.
Does it support TypeScript?
Yes. It uses the official typings from @types/google.maps, and the docs are generated from the TypeScript definitions.
Can I see examples?
Yes. The examples compare the clustering algorithms and renderers. They run from a dev server on localhost port 8080 once you provide an API key.
What are the best JS Markerclusterer alternatives?
Popular alternatives to JS Markerclusterer include JS Three, Laravel Maps and React Native Map Clustering. See all JS Markerclusterer alternatives










