Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Malvoz opened this issue Apr 26, 2021 · 0 comments
Open

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

Malvoz opened this issue Apr 26, 2021 · 0 comments
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

Comments

@Malvoz
Copy link
Member

Malvoz commented Apr 26, 2021

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.

@Malvoz Malvoz added discussion: capability a specific capability or feature: should it be included? what details? should it be a requirement? status: suggestion this issue discusses a suggested addition to the report, that is not yet in the draft section: map viewer Capabilities & use cases for declarative map viewer widgets labels Apr 26, 2021
@Malvoz Malvoz changed the title Capability: Visual blending of layers, tiles and/or vector features Capability: Visual blending of map content Apr 26, 2021
@Malvoz Malvoz changed the title Capability: Visual blending of map content Capability: Visual blending of layers, tiles and/or vector features Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant