We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current MapLayer implementation cannot deal with hierarchical layers (e.g. layer groups).
MapLayer
Instead of doing our own abstraction, we should expose the QGIS internals: QgsLayerTree, QgsLayerTreeModel, QgsLayerTreeNode, QgsLayerTreeGroup, QgsLayerTreeLayer.
QgsLayerTree
QgsLayerTreeModel
QgsLayerTreeNode
QgsLayerTreeGroup
QgsLayerTreeLayer
Based on this API, one should be able to build a hierarchical layer tree widget.
The text was updated successfully, but these errors were encountered:
+1 ... exposing layer tree will be useful.
One note: QgsLayerTreeModel is most likely not needed here - it is mainly used for Qt model/view stuff.
Sorry, something went wrong.
(And it would be very useful to also have a GUI widget which could be used to control the layer tree!)
No branches or pull requests
The current
MapLayer
implementation cannot deal with hierarchical layers (e.g. layer groups).Instead of doing our own abstraction, we should expose the QGIS internals:
QgsLayerTree
,QgsLayerTreeModel
,QgsLayerTreeNode
,QgsLayerTreeGroup
,QgsLayerTreeLayer
.Based on this API, one should be able to build a hierarchical layer tree widget.
The text was updated successfully, but these errors were encountered: