geoview-core
    Preparing search index...

    Function commonProcessLayerMetadata

    • This method is used to process the layer's metadata. It will fill the empty fields of the layer's configuration (renderer, initial settings, fields and aliases).

      Type Parameters

      • T extends
            | EsriDynamicLayerEntryConfig
            | EsriImageLayerEntryConfig
            | EsriFeatureLayerEntryConfig

      Parameters

      • layer: EsriImage | EsriDynamic | EsriFeature

        The ESRI layer instance pointer.

      • layerConfig: T

        The layer entry configuration to process.

      • OptionalabortSignal: AbortSignal

        Abort signal to handle cancelling of fetch.

      Returns Promise<T>

      A promise that the layer configuration has its metadata processed.

      Error thrown when the metadata fetch fails or contains an error.