@maplibre/maplibre-gl-inspect
    Preparing search index...

    Class default

    Maplibre Inspect Control

    Implements

    • IControl
    Index

    Constructors

    Properties

    assignLayerColor: (layerId: string, alpha: number) => string
    options: Required<MaplibreInspectOptions>
    sources: { [key: string]: string[] }

    Methods

    • Parameters

      • e: MapSourceDataEvent

      Returns Promise<void>

    • Parameters

      • map: Map$1

      Returns HTMLDivElement

    • This will set the original style of the map It will also update the sources assuming the map has already been loaded

      Parameters

      • style: StyleSpecification

        The original style

      Returns void