Allowed for selection of locations in the map