forked from MapServer/MapServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit ede4953 introduced SIZEUNITS inheritance layer->class->style/label. When LAYER STYLEITEM is in use, for each feature msUpdateStyleFromString is called but no attempts are made to ensure correct scale factor values for newly created style item thus all features get scale factor 1.0, that might be different from value it should have. This wasn't a problem before ede4953 as layer scale factor was always used to render features with STYLEITEM. This commit introduces a workaround by lifting out code from the only place where scale factor is adjusted in a way that it can be reused also in the STYLEITEM case.
- Loading branch information
Showing
3 changed files
with
96 additions
and
66 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