When the legislative body deems it necessary that land purchased for park or other purposes be used for construction of public buildings or creation of a civic center, it may adopt an ordinance by a four-fifths vote declaring the necessity and providing for such use. 37111.1.