cleaned up function to draw geography layer