-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
Folder in layer list? #66
Comments
Very good idea for grouping by the prefix!!!! I also have problems working with 100 layers style to still find my styles. The only implementation issue might be that it makes drag and drop harder. |
Note to myself: I can probably reuse the collapse components to make this very straightforward. |
By the way, this feature would incentivise proper layer naming :-) |
Works now! It's quite a hack implementation wise because otherwise drag and drop get's broken. Especially the group reordering can be confusing at first. Thanks for pushing me - wouldn't have implemented it otherwise but the trick with the prefix is very neat (and does not make us copycats - which is even more important to me). OSM Liberty has 100 layers - and there it really helps organizing. |
I would close folders by default, otherwise the benefit is limited. |
It is now collapsed by default e5fbe3b |
Mapbox Studio supports folders via metadata properties, if I'm not mistaken. I am not proposing to do the same, as this is a proprietary approach.
Yet there's a non-proprietary possibility to do the same: We could automatically bundle all adjacent layers that start with the same word into a folder.
Look at this example:
This would look like this:
Less than half the length.
The text was updated successfully, but these errors were encountered: