interface AlgorithmInput {
    map: Map;
    mapCanvasProjection: MapCanvasProjection;
    markers: Marker[];
}

Properties

map: Map

The map containing the markers and clusters.

mapCanvasProjection: MapCanvasProjection

The mapCanvasProjection enables easy conversion from lat/lng to pixel.

markers: Marker[]

An array of markers to be clustered.

There are some specific edge cases to be aware of including the following:

  • Markers that are not visible.

Generated using TypeDoc