-
-
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
[annotations] Add support for callouts to point text, rect text and picture items #58295
Conversation
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
@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! |
2e08dcf
to
298d012
Compare
* The anchor dictates the geometry which the option item callout() should connect to. Depending on the | ||
* callout subclass and anchor geometry type, the actual shape of the rendered callout may vary. | ||
* | ||
* The callout anchor geometry is in the parent layer's coordinate reference system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For project annotations, that would be the project CRS? Might be worth expanding here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's always the layer's CRS. The main annotation layer for a project still has it's own CRS, which may or may not be the same as the project's CRS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nyalldawson , fair enough.
Allows creating of callout lines (or bubble callouts) which link the text to a map location. To create a callout, users select the text item and then drag out the central x node to the desired callout end point. Callout styles can be modified through the layer styling panel.
298d012
to
38a1de4
Compare
@nyalldawson |
Allows creating of callout lines (or bubble callouts) which link the text to a map location. To create a callout, users select the text item and then drag out the central x node to the desired callout end point.
Callout styles can be modified through the layer styling panel.
Peek.2024-08-02.13-32.mp4