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

Make visible layer ids accessible via a custom QgsRenderContext property #58106

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

nyalldawson
Copy link
Collaborator

Provides a means for retrieving the visible layer ids from a render context, via:

layer_ids = rc.customRenderingFlags().get('visible_layer_ids')

@nyalldawson nyalldawson added the API API improvement only, no visible user interface changes label Jul 15, 2024
@github-actions github-actions bot added this to the 3.40.0 milestone Jul 15, 2024
Copy link

github-actions bot commented Jul 15, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit a0dd8a2)

Provides a means for retrieving the visible layer ids from a render
context, via:

    layer_ids = rc.customRenderingFlags().get('visible_layer_ids')
@nyalldawson nyalldawson merged commit 8c067b2 into qgis:master Jul 18, 2024
30 checks passed
@nyalldawson nyalldawson deleted the map_layer_ids branch July 18, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API improvement only, no visible user interface changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants