Notice of the election shall be given by publication in a newspaper of general circulation in the city, subject to section 362.3 or in the county, subject to section 331.305.