Cocoa Beach will allow pot to be dispensed in a few locations in the city if Florida voters in November approve a constitutional amendment to legalize medical marijuana.
Commissioners passed an ordinance Thursday evening 4-1 to limit where legal marijuana can be distributed and treatment centers can operate.
City Commissioner Ben Malik said the ordinance was too restrictive and voted against.
The ordinance would regulate both medical and recreational marijuana, if it were also to be legalized in Florida at a later date.
The law prohibits dispensaries and treatment centers within 200 feet from major roads such as State Road A1A, SR 520, Ocean Beach Boulevard and Minutemen Causeway.
It also establishes buffer zones for schools, churches and residential areas.