when map content is changed (like another map is loaded via the dropdown) it now clears the canvas and draws that loaded map.