ol-mapbox-style
    Preparing search index...

    Function recordStyleLayer

    • Turns recording of the Mapbox/MapLibre Style's layer on and off. When turned on, the layer that a rendered feature belongs to will be set as the feature's mapbox-layer property.

      Parameters

      • record: boolean = false

        Recording of the style layer is on.

      Returns void