mapeditor/tiled
Do you want to work on this issue?
You can request for a bounty in order to promote it!
Expand/collapse layers API #3997
hnbdr posted onGitHub
When working with maps with a large number of layers, a scripting API for expanding/collapsing GroupLayer and ObjectGroup would be very helpful.
As @bjorn suggested, this can be done by exposing the Layers and Objects views functions in the MapEditor interface.