Maplibre Inspect Control

Implements

  • IControl

Constructors

Properties

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

Methods

  • Parameters

    • e: MapSourceDataEvent

    Returns 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

MMNEPVFCICPMFPCPTTAAATR