Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Disambiguate use of QgsMapCanvas::fullExtent and
QgsMapCanvas::zoomToFullExtent In 3.18 these methods changed their meaning from the "full extent of all layers visible in the canvas" to "the full extent of the associated project". These are actually two different, equally valid use cases, so disambiguate by adding new explicit methods projectExtent() and zoomToProjectExtent(), and revert fullExtent() and zoomToFullExtent() to their pre-3.18 behavior. Fixes #43303
- Loading branch information
1 parent
dc50988
commit 7bf85a0
Showing
3 changed files
with
88 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters