@vcmap/core
    Preparing search index...

    Class ExclusiveManager

    Tracks layer exclusivity, added to every LayerCollection.

    Index

    Constructors

    Methods

    • registers a Layer as Exclusive, the activation of a layer triggers the deactivation of all other exclusive Layers. The layer collection adds exclusive layers to the manager on adding the layer to the collection.

      Parameters

      • layer: Layer

        layer to register

      Returns void

    • Removes a layer from tracking. Layer collections remove the layer once they are removed from them.

      Parameters

      • layer: Layer

        layer to unregister

      Returns void

    Properties

    layers: Map<
        string
        | symbol,
        Set<Layer<LayerImplementation<VcsMap<VisualisationType>>>>,
    > = ...