Function updateMapboxLayer

  • Update a Mapbox Layer object in the style. The map will be re-rendered with the new style.

    Parameters

    • mapOrGroup: Map | LayerGroup

      The Map or LayerGroup apply was called on.

    • mapboxLayer: any

      Updated Mapbox Layer object.

    Returns void