ol-mapbox-style
    Preparing search index...

    Function getLayers

    • Get the OpenLayers layer instances for the provided Mapbox/MapLibre Style source.

      Parameters

      • map: Map | LayerGroup

        OpenLayers Map or LayerGroup.

      • sourceId: string

        Mapbox/MapLibre Style source id.

      Returns Layer<Source, LayerRenderer<any>>[]

      OpenLayers layer instances.