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

UX: Improve functionality of layer select/de-select buttons #27

Open
kidwellj opened this issue Aug 31, 2017 · 6 comments
Open

UX: Improve functionality of layer select/de-select buttons #27

kidwellj opened this issue Aug 31, 2017 · 6 comments
Assignees

Comments

@kidwellj
Copy link
Member

Buttons should change their display to indicate somehow whether a layer is on or off. Can we add opacity when layer is turned off? We also need to alter colours to match colorbrewer selections for points, and add a title indicating to users that these buttons function as a "Legend" for the map.

@danhillcode
Copy link
Collaborator

so when selected the button will be bright and then when not selected it will be shaded is that correct?

@kidwellj
Copy link
Member Author

Yeah, something like that. Here's an example of what I'm imagining:
lh_sidebar_example

@danhillcode
Copy link
Collaborator

I have changed the opacity so that when a layer is on it has opacity on as only one layer can be on at a time anyway. Added some more css around the css to make it more styled I like it with the border.

@danhillcode
Copy link
Collaborator

might be an error here just testing but hard to tell without points on map will check again.

@kidwellj
Copy link
Member Author

That's (nearly) good for now - but need to reverse styling so that other buttons are off and active button is 100% black. Sorry - wasn't thinking about the fact that we can only select one set at a time originally.

@danhillcode
Copy link
Collaborator

No worries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants