pigeon-markercluster
v1.0.3
Published
Clustering library for pigeon-maps
Downloads
2
Readme
pigeon-markercluster
Clustering library for pigeon-maps
Install
npm install --save pigeon-markercluster
Usage
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>
)
License
MIT © baldulin