@infrasoftbe/vnv-sdk
    Preparing search index...

    Interface ILayerConstructor<LayerConfig>

    Interface representing a Layer Constructor with generic configuration.

    use

    Type extending LayerDefaultConfig, defaults to empty object

    The path parameter

    The layer factory instance

    interface ILayerConstructor<LayerConfig extends LayerDefaultConfig = {}> {
        baseUrl: string;
        endpoint: string;
        layers: LayerConfig["layers"];
        URL: URL;
        use: <LayerConfig extends LayerDefaultConfig = {}>(
            path: any,
            layer: LayerFactory<LayerConfig>,
        ) => void;
    }

    Type Parameters

    • LayerConfig extends LayerDefaultConfig = {}

      Type extending LayerDefaultConfig, defaults to empty object

    Index

    Properties

    baseUrl: string

    The base URL string

    endpoint: string

    The endpoint path

    layers: LayerConfig["layers"]

    Layer configuration from LayerConfig

    URL: URL

    The complete URL object

    use: <LayerConfig extends LayerDefaultConfig = {}>(
        path: any,
        layer: LayerFactory<LayerConfig>,
    ) => void