Clustering library for pigeon-maps
npm install --save pigeon-markercluster
import { Map, Marker } from 'pigeon-maps'
import { SuperCluster } from 'pigeon-markercluster'
const Example = () => (
<Map center={[53.7942, 12.17506]} zoom={6} defaultWidth={600} height={800}>
<SuperCluster>
{points.map((point) => (
<Marker anchor={point} />
))}
</SuperCluster>
</Map>
)
MIT © baldulin