browser-image
    Preparing search index...

    Options for EnhanceControl.

    interface EnhanceControlOptions {
        layer?: Layer<Source, LayerRenderer<any>, { [x: string]: any }>;
        source?: EnhanceTarget;
        sliders?: readonly EnhanceSlider[];
        dra?: boolean;
        draSettings?: Partial<EnhanceDra>;
        bands?: boolean;
        opacity?: boolean;
        labels?: EnhanceLabels;
        collapsed?: boolean;
        css?: boolean;
        className?: string;
        target?: string | HTMLElement;
        onChange?: (p: Pipeline) => void;
    }
    Index
    layer?: Layer<Source, LayerRenderer<any>, { [x: string]: any }>

    The layer whose source is corrected (an EnhancedGeoTIFF). A new source set on the layer, for example by a LoadImageControl, gets the current correction. Also gives the opacity slider. The sliders replace the pipeline the source was created with.

    source?: EnhanceTarget

    The source (or TileCorrection) to correct, when there is no layer.

    sliders?: readonly EnhanceSlider[]

    The sliders, in order. Default defaultEnhanceSliders.

    dra?: boolean

    Show the DRA settings (default true).

    draSettings?: Partial<EnhanceDra>

    DRA settings at the start. Default: off, percent clip 0.5 %, not linked.

    bands?: boolean

    Show the band assignment (default true): which band R, G and B show, for images with 3 bands or more (EnhancedGeoTIFF.setSelect). The same band in all three shows it in gray.

    opacity?: boolean

    Show an opacity slider for layer (default true).

    labels?: EnhanceLabels

    Texts; missing keys come from enhanceLabelsEn. enhanceLabelsJa has Japanese.

    collapsed?: boolean

    Start with the panel closed (default true).

    css?: boolean

    Add the default styles to the document (default true).

    className?: string

    Extra class names for the control element.

    target?: string | HTMLElement

    Put the control in this element instead of the map's overlay container.

    onChange?: (p: Pipeline) => void

    Called with the new pipeline after each change (at most once per frame).