map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface ConfigFragment

    Allows access to a configuration section.

    interface ConfigFragment {
        getConfig<T>(key: string): undefined | T;
        isEmpty(): boolean;
    }
    Index

    Methods

    • Provides access to a configuration section, e.g. map-layers. An interpreter defines what can be available there.

      Type Parameters

      • T

      Parameters

      • key: string

        configuration key

      Returns undefined | T

    • Checks if configuration options are provided by this fragment.

      Returns boolean