When the county seat of any county has not been located by a vote of the electors of the county, and county buildings have not been erected at the county seat at a cost to the county of at least one thousand dollars, the board of county commissioners, upon the petition of a majority of the legal electors of the county, shall order an election for the location or removal of such county seat.