-
Notifications
You must be signed in to change notification settings - Fork 55
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
Print - incorrect style for highlighted/selected objects after print #1482
Comments
Seems related, @Grammostola |
Acknowledged. It seems the selection goes missing on print preview entry and accomodating this issue relates to the fix I was working on for the other one (which deals with print preview exit). suppressNewDPIMethod does help by undoing much of the recent resolutions change, which is just as well because it was intended for things like this . So to summarize: use the
option for the print control if this issue is a showstopper, until I or someone else gets a handle on it : ) I think the problem is creating a new style based on the original and applying it to all features, rather than changing the scale of all features' styles and am working on it. |
It seems to not be an issue with theme (wfs) layers; they are treated differently. "Changing the scale of all features' styles" isn't a functional idea because a feature won't respond to getStyle() if inherited from its layer rather than being subjected to setStyle(). Unless someone acts quicker or sees an issue with the idea I will look into whether treating wfs layers with non-theme styles like those with theme styles are now is an alternative. |
Describe the bug
When you return to the map after printing, the style of the selected item is incorrect.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The selected object should have the style (or default style) from the json file.
Screenshots
Additional context
Related to #1476?
The text was updated successfully, but these errors were encountered: