Zoom to layer fixes #85048
Merge pull request #190 from alediator/84675-print_legend

Zoom to layer fixes #85048