Although an outdoor ban is not unique in California -- Los Angeles , Santa Cruz , Pasadena and eight other cities already limit smoking in playgrounds and on certain public beaches -- San Francisco will become the first city and county in the nation with a ban on smoking cigarettes and cigars in town squares , public gardens and city-owned playing fields , as well as in parks and along beaches .