Capability: Visual blending of layers, tiles and/or vector features #247
Labels
discussion: capability
a specific capability or feature: should it be included? what details? should it be a requirement?
section: map viewer
Capabilities & use cases for declarative map viewer widgets
status: suggestion
this issue discusses a suggested addition to the report, that is not yet in the draft
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 asbackground-blend-mode
andisolation
) 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.
The text was updated successfully, but these errors were encountered: