interface ColorLayerEvents {
    brightness-property-changed: {
        brightness: number;
    };
    contrast-property-changed: {
        contrast: number;
    };
    elevationRange-property-changed: {
        range: ElevationRange;
    };
    opacity-property-changed: {
        opacity: number;
    };
    saturation-property-changed: {
        saturation: number;
    };
    visible-property-changed: {
        visible: boolean;
    };
}

Hierarchy (view full)

Properties

brightness-property-changed: {
    brightness: number;
}

When the layer brightness changes

Type declaration

  • brightness: number
contrast-property-changed: {
    contrast: number;
}

When the layer contrast changes

Type declaration

  • contrast: number
elevationRange-property-changed: {
    range: ElevationRange;
}

When the layer elevationRange property changes

Type declaration

opacity-property-changed: {
    opacity: number;
}

When the layer opacity changes

Type declaration

  • opacity: number
saturation-property-changed: {
    saturation: number;
}

When the layer saturation changes

Type declaration

  • saturation: number
visible-property-changed: {
    visible: boolean;
}

Fires when layer visibility changes.

Type declaration

  • visible: boolean