ol-mapbox-style
    Preparing search index...

    Function getSource

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

      Parameters

      • map: Map | LayerGroup

        OpenLayers Map or LayerGroup.

      • sourceId: string

        Mapbox/MapLibre Style source id.

      Returns Source

      OpenLayers source instance.