1.0.3 • Published 12 months ago

pigeon-markercluster v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months 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