implements the map selector panel