@vcmap/core
    Preparing search index...

    Class VectorClusterGroupCollection

    A generic array based collection. Implements the Symbol.iterator (e.g. [...collection])

    Hierarchy (View Summary)

    Index

    Accessors

    • get uniqueKey(): keyof T | undefined

      The key by which to check uniqueness against. undefined if no uniqueness constraint is set.

      Returns keyof T | undefined

    Constructors

    Methods

    • Returns true, if the key exists. Returns undefined, if there is no uniqueness constraint.

      Parameters

      • value: unknown

      Returns boolean | undefined

    • Creates a Collection from an iterable, such as an Array.

      Type Parameters

      • F

      Parameters

      • iterable: Iterable<F>
      • OptionaluniqueKey: false | keyof F

        a key to maintain uniquely within the collection. passing false disables uniqueness.

      Returns Collection<F>

    Properties

    Event raised if an item is added. Is passed the added item.

    Event raised if an item is removed. Is passed the removed item.