Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework sync extent option for map views
Instead of a single sync extent option, the option has been split into a "sync map center" option, and a "sync scale" option. Sync center just does that - syncs the center of the map without changing the scale. This allows you to have an overview style or magnified map which follows the main canvas center. Sync scale borrows from the Auxillary Window/Dockable Mirror Map plugin approach. If sync scale is enabled, a "scale factor" is utilised to multiply the main canvas scale. This allows you to have a view which is e.g. always 2x the scale of the main canvas. Splitting the sync extent option like this allows us to address a much wider set of use cases with map views (at the cost of a bit of UI complexity). It also helps cover more of the feature set from the Aux Window/Dockable Mirror Map plugins, hopefully allowing this built-in view approach to make the need for 3rd party plugins redundant.
- Loading branch information
1 parent
e21b908
commit 57637ca
Showing
5 changed files
with
140 additions
and
37 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
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