Skip to content

Capability: Visual blending of layers, tiles and/or vector features #247

Open
@Malvoz

Description

@Malvoz

A (Custom Styling) Capability to enable blending (visually mixing, or "merging") of layers, tiles and/or vector features.

Some of the reference tools have options to change opacity (of tiles, layers, etc.):

However, reducing opacity is problematic because it causes layers, vector features, and (in case of image tiles) text labels to essentially be less visible. Conforming to WCAG success criteria for contrast (e.g. 1.4.3 Contrast (Minimum), 1.4.6 Contrast (Enhanced), 1.4.11 Non-text Contrast) can be hard or even impossible depending on the applied opacity.

mix-blend-mode (and related properties such as background-blend-mode and isolation) may be a better option than opacity in some ways, but - to my understanding - relies on elements belonging to different branches of the DOM tree to blend, which is a necessary consideration (perhaps a limitation).

This capability may be required for the use case: Combine multiple layers of map tile data or features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussion: capabilitya specific capability or feature: should it be included? what details? should it be a requirement?section: map viewerCapabilities & use cases for declarative map viewer widgetsstatus: suggestionthis issue discusses a suggested addition to the report, that is not yet in the draft

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions