ol-mapbox-style
    Preparing search index...

    Function getMapboxLayer

    • Get the Mapbox Layer object for the provided layerId.

      Parameters

      • mapOrGroup: Map | LayerGroup

        Map or LayerGroup.

      • layerId: string

        Mapbox Layer id.

      Returns any

      Mapbox Layer object.