Skip to content

[Feature] continuous visualMap to support different color space and custom stop values #21437

@PaulBrnrther

Description

@PaulBrnrther

What problem does this feature solve?

Currently the continuous visual map allows only interpolation in an RGBA-Space.
For enabling the advantages of different color spaces (in particular of the CIELab color space which is better suited to create human-perceptually uniform gradients) it would be best to be able to choose the color space in which the interpolation between two colors is performed.

Currently the continuous visual map allows only equidistant interpolation by using multiple colors in the inRange property.
But it would be nice to be able to set such interpolation stop values manually.

What does the proposed API look like?

{ visualMap: { type: "continuous", colorSpace: "lab" | "rgba" | ..., inRange: { stopValues: number[], colors: string[] } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    enThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions