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

Reorganize UI of layer tools in the TOC #1318

Closed
offtherailz opened this issue Dec 2, 2016 · 4 comments
Closed

Reorganize UI of layer tools in the TOC #1318

offtherailz opened this issue Dec 2, 2016 · 4 comments

Comments

@offtherailz
Copy link
Member

now we have something like this.
image

There are too many buttons on the same line.
We should keep max a couple of them + one tool to display/hide the other ones.

I suggest to keep only zoom and visibility toggle the list icon, that expand the legend and the other tools.
When clicked, the other tools will be shown below the layer name, before the legend.

In my opinion this is very important for the next release, because we will have one more button in the TOC, and they become really too much.

@offtherailz
Copy link
Member Author

I did it with following animation and icons.
@mbarto any comment?
expand collapse

@mbarto
Copy link
Contributor

mbarto commented Dec 12, 2016

Looks good to me

@offtherailz
Copy link
Member Author

What about this light line on the left, to better identify that the block refers to the layer above?
image

@mbarto
Copy link
Contributor

mbarto commented Dec 12, 2016

Not bad

offtherailz added a commit to offtherailz/MapStore2 that referenced this issue Dec 12, 2016
 - Now Layers tools are onlt 3 by default.
 - Expanding the legend/tools you will see the other tools
 - Animation on Expand and other style improvements
 - A Tooltip explains every tool
@ghost ghost removed the pending review label Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants