feature: cycleButton for background layers #1978
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Suggestion to fix #1379
Background layers can have a
cycleGroup
prop. Those of the samecycleGroup
value are part of one cycleButton (where the normal kind is a backgroundButton).The cycleButtons are delineated via a greyish background color. Clicking them once turns on the currently shown (icon, tooltip) layer for that button, clicking on an already active (grey border) cycleButton does not bring up the details pane, it cycles the button to the next layer in the cycleGroup.
It is in no shape or form a perfect solution since the "Örebro" solution is inherently somewhat limited. Local feedback has shown a preference for an unspecified form that appears when a background layer icon is clicked, that would be a kind of visual selector. There isn't anything like that that I know of currently in Origo, I guess the Legend layout could be rearranged.
But the current solution is like the Örebro button and it does, at least temporarily, solve a problem we were having with too many background maps (put two similar ones behind one cycleButton).