Skip to content

Color or filter annotations based on an attribute #263

@manthey

Description

@manthey

If we have a set of annotation elements, it is sometimes useful to have additional properties per element. These could be stored in the element's user property or in the parent annotation's attributes property. If many elements had a numerical value with a common property key or the annotation contained a property in the attributes that was a vector the length of the elements, then this property could be used to color or filter the annotation.

For polygons, we can control the stroke weight, stroke color and opacity, and fill color and opacity; colors could represent multiple or one value; opacity could be used as the filter (but would need to also no longer be hoverable).

For other elements, we may have other parameters we can vary (e.g., use markers instead of circles for points).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions