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
When rendering symbols with sizes in map units or meters at scale
yet NO scale is available, handle things semi-gracefully 1. Treat map units and meters at map units as millimeter values. (Any choice we make here is going to be wrong, but this at least allows us to show map unit based sizes as impacting on symbols in symbol preview icons) 2. Clamp the resultant size to a reasonable value range. Since a size of 2000 map units may be perfectly valid for one map and correspond to ~1mm, on another map this may translate to a size of 100 cm. We can't know what the expected scale range is for a pure size value, so we just limit the resultant size ranges to prevent massive sizes. Refs #41149 - this prevents the map unit sizes for the effects from being treated as pixel sizes exceeding 10k sizes.
- Loading branch information
1 parent
9287772
commit 615f68a
Showing
2 changed files
with
76 additions
and
7 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