Get print margins of map directly from html document elements