This is an ES-ified, linted, bugfixed implementation of the Google Maps MarkerClusterer component, building on some great, but no-longer-supported previous efforts. It is designed to support SSR and export an ES6 component.
Simply install the node module into your codebase.
npm install --save-dev @beyonk/marker-clusterer-ssr
and into your code:
import MarkerClusterer from '@beyonk/marker-clusterer-ssr'