Skip to content

Latest commit

聽

History

History

inspect

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
聽
聽
聽
聽
聽
聽
聽
聽

README.md

<< all controls

馃悶 @mapbox-controls/inspect

Control to debug map style layers and sources.

鈿狅笍 Inspect Control doesn't work with new MapBox Standard style, since the MapBox API doesn't work as documentated.

npm i @mapbox-controls/inspect
import InspectControl from '@mapbox-controls/inspect';
import '@mapbox-controls/inspect/src/index.css';

map.addControl(new InspectControl(), 'bottom-right');

Options

export type ControlOptions = {
	console?: boolean;
};