1.0.3 • Published 1 year ago

pigeon-markercluster v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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