Optional
assignLayerColor?: (layerId: string, alpha: number) => stringOptional
backgroundColor?: stringBackground color for the inspect map
Optional
blockHoverPopupOnClick?: booleanBlock hover popup on click
Optional
buildInspectStyle?: (Optional
popup?: PopupMaplibre GL Popup
Optional
queryParameters?: QueryRenderedFeaturesOptionsQuery parameters for querying rendered features
Optional
renderPopup?: (features: GeoJSONFeatureWithSourceLayer[]) => string | HTMLElementOptional
selectThreshold?: numberSelect threshold
Optional
showInspectButton?: booleanShow the inspect button
Optional
showInspectMap?: booleanShow the inspect map
Optional
showInspectMapPopup?: booleanShow the inspect map popup
Optional
showInspectMapPopupOnHover?: booleanShow the inspect map popup on hover
Optional
showMapPopup?: booleanShow the map popup
Optional
showMapPopupOnHover?: booleanShow the map popup on hover
Optional
sources?: { [key: string]: string[] }Sources to be used for inspecting, setting this will disable the automatic source detection. This is a dictionary containing the source IDs and their vector layer IDs
Optional
toggleCallback?: (showInspectMap: boolean) => voidCallback for toggling the inspect map
Optional
useInspectStyle?: booleanUse inspect style
This is the main type for the available options for MapLibre Inspect