gis-tools-ts - v0.6.0
    Preparing search index...

    Interface ClusterOptions<M>

    Options for point clustering

    interface ClusterOptions<M extends MValue = Properties> {
        layerName?: string;
        maxzoom?: number;
        minzoom?: number;
        projection?: Projection;
        radius?: number;
        store?: ClusterStore<M>;
    }

    Type Parameters

    • M extends MValue = Properties
    Index

    Properties

    layerName?: string

    Name of the layer to build when requesting a tile

    maxzoom?: number

    max zoom level to cluster the points on

    minzoom?: number

    min zoom to generate clusters on

    projection?: Projection

    projection to use

    radius?: number

    cluster radius in pixels relative to a 512x512 pixel tile

    store?: ClusterStore<M>

    type of store to use. Defaults to an in memory store