You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author Name: leaffan - (leaffan -)
Original Redmine Issue: 1975
Redmine category:python_plugins
Assignee: Martin Dobias
Using the QGis API it is possible to add layers to the currently opened project using the function addMapLayer() of the [[QgsMapLayerRegistry]] class. Within the GUI it is further possible to add groups to the legend (Right-click on legend area & Add group) that can hold a number of layers. Can this function be exposed to the API? So that new layer groups can be created and/or deleted and new layers can be added to already existing groups etc. That would help programming users to keep a clear project structure.
The text was updated successfully, but these errors were encountered:
Author Name: leaffan - (leaffan -)
Original Redmine Issue: 1975
Redmine category:python_plugins
Assignee: Martin Dobias
Using the QGis API it is possible to add layers to the currently opened project using the function addMapLayer() of the [[QgsMapLayerRegistry]] class. Within the GUI it is further possible to add groups to the legend (Right-click on legend area & Add group) that can hold a number of layers. Can this function be exposed to the API? So that new layer groups can be created and/or deleted and new layers can be added to already existing groups etc. That would help programming users to keep a clear project structure.
The text was updated successfully, but these errors were encountered: