implemented all of the map buttons