Take navbar and accordion into account
Get print margins of map directly from html document elements
Merge pull request #973 from geoadmin/dev_fix_scalecalculation

Print Scale Calculation