Automatically rotate map based on drawing dimensions