Interface LensableDisplayStyle

interface LensableDisplayStyle {
    baseHeightKey?: string;
    circleRadius?: number;
    cluster?: boolean;
    clusterColor?: string;
    displayKeys?: string[];
    fillOpacity?: number;
    heightKey?: string;
    heightScale?: number;
    iconColor?: ColorPaletteOrFixed;
    iconHaloColor?: ColorPaletteOrFixed;
    iconImage?: string;
    iconSize?: number;
    lineColor?: ColorPaletteOrFixed;
    lineDimension?: "meters" | "pixels";
    lineWidth?: number;
    mainColor?: ColorPaletteOrFixed;
    mainLayer?:
        | "model"
        | "fill"
        | "fill-extrusion"
        | "circle"
        | "icon"
        | "giraffe-baked";
    overrideCircle?: Pick<CircleLayerSpecification, "paint">;
    overrideFill?: Pick<FillLayerSpecification, "paint">;
    overrideFillExtrusion?: Pick<FillExtrusionLayerSpecification, "paint" | "layout">;
    overrideIcon?: Pick<SymbolLayerSpecification, "paint" | "layout">;
    overrideLabel?: Pick<SymbolLayerSpecification, "paint" | "layout">;
    overrideLine?: Pick<LineLayerSpecification, "paint" | "layout">;
    overrideModel?: Pick<ModelLayerSpecification, "paint" | "layout">;
    primaryLabelMaxChars?: number;
    props?: PropToProp[];
    showLabels?: boolean;
    showLines?: boolean;
    showPalette?: LensPaletteKey;
    showTable?: boolean;
    showValuesOnly?: boolean;
    tableColumnWidths?: Record<string, number>;
    textColor?: ColorPaletteOrFixed;
    textHaloColor?: ColorPaletteOrFixed;
}

Properties

baseHeightKey?: string
circleRadius?: number
cluster?: boolean
clusterColor?: string
displayKeys?: string[]

Keys to use for labels on map

fillOpacity?: number
heightKey?: string
heightScale?: number
iconHaloColor?: ColorPaletteOrFixed
iconImage?: string
iconSize?: number
lineDimension?: "meters" | "pixels"
lineWidth?: number
mainLayer?:
    | "model"
    | "fill"
    | "fill-extrusion"
    | "circle"
    | "icon"
    | "giraffe-baked"
overrideCircle?: Pick<CircleLayerSpecification, "paint">
overrideFill?: Pick<FillLayerSpecification, "paint">
overrideFillExtrusion?: Pick<FillExtrusionLayerSpecification, "paint" | "layout">
overrideIcon?: Pick<SymbolLayerSpecification, "paint" | "layout">

paint and layout properties documented at https://docs.mapbox.com/style-spec/reference/layers/#symbol

overrideLabel?: Pick<SymbolLayerSpecification, "paint" | "layout">

paint and layout properties documented at https://docs.mapbox.com/style-spec/reference/layers/#symbol

overrideLine?: Pick<LineLayerSpecification, "paint" | "layout">

paint and layout properties documented at https://docs.mapbox.com/style-spec/reference/layers/#line

overrideModel?: Pick<ModelLayerSpecification, "paint" | "layout">
primaryLabelMaxChars?: number
props?: PropToProp[]
showLabels?: boolean
showLines?: boolean
showPalette?: LensPaletteKey
showTable?: boolean
showValuesOnly?: boolean
tableColumnWidths?: Record<string, number>
textHaloColor?: ColorPaletteOrFixed