-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Show a color ramp legend for vector heatmap layers #57327
Conversation
This will allow renderer subclasses to create legend nodes which aren't QgsSymbolLegendNodes.
Instead of showing no legend for these layers, show the color ramp as a gradient bar Fixes qgis#54772
@nyalldawson A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
@nyalldawson |
Instead of showing no legend for these layers, show the color ramp as a gradient bar.
Users can control the text for the min/max labels, the direction of the bar, and the font settings.
This also reworks the vector renderer API so that renderers have the flexibility to create any type of legend nodes, not just QgsSymbolLegendNodes. This may be useful for other renderers in future too.
Sponsored by Rubicon Concierge Real Estate Services