XYZ Maps Documentation
    Preparing search index...

    Class ClusterFeature

    This Feature represents a Cluster.

    Hierarchy (View Summary)

    Index
    bbox?: [number, number, number, number]

    Bounding box of the feature. The value of the bbox member is an array of length 4, with all axes of the most southwesterly point followed by all axes of the more northeasterly point. The "bbox" values define shapes with edges that follow lines of constant longitude and latitude.

    geometry: { coordinates: GeoJSONCoordinate; type: "Point" }

    The geometry of a cluster feature is of type 'Point', where the coordinates represent the geographical coordinates [longitude, latitude] of the cluster center.

    id: string | number

    id of the feature.

    The Properties of the Cluster feature.

    type: string

    The type of the feature is a string with 'Feature' as its value.

    • Calculates and returns the bounding box of the cluster.

      Returns GeoJSONBBox

      The bounding box of the cluster.

    • Returns the features within the cluster.

      Returns any

      An array containing the features within the cluster.

    • Returns the features within the cluster.

      Parameters

      Returns any

      An array containing the features within the cluster.