Plot the map better inside the given space, and in proper scale. - Determine the boundaries automatically. - Maybe allow specifying a padding in percentages or pixels. - Choose a decent map projection algorithm.