The mayor and council of the city may by ordinance declare what shall be - a nuisance, and by ordinance prohibit the same within the city and , .i 'ยท outside the city limits for a distance of five thousand (5,000) feet, and provide for the abatement of same.