-
Notifications
You must be signed in to change notification settings - Fork 12
Capability: Visual blending of layers, tiles and/or vector features #247
Copy link
Copy link
Open
Labels
discussion: capabilitya specific capability or feature: should it be included? what details? should it be a requirement?a specific capability or feature: should it be included? what details? should it be a requirement?section: map viewerCapabilities & use cases for declarative map viewer widgetsCapabilities & use cases for declarative map viewer widgetsstatus: suggestionthis issue discusses a suggested addition to the report, that is not yet in the draftthis issue discusses a suggested addition to the report, that is not yet in the draft
Metadata
Metadata
Assignees
Labels
discussion: capabilitya specific capability or feature: should it be included? what details? should it be a requirement?a specific capability or feature: should it be included? what details? should it be a requirement?section: map viewerCapabilities & use cases for declarative map viewer widgetsCapabilities & use cases for declarative map viewer widgetsstatus: suggestionthis issue discusses a suggested addition to the report, that is not yet in the draftthis 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
opacityis 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-modeandisolation) 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.