The Florida Supreme Court struck down the red-light camera ordinances Thursday in the cities of Aventura and Orlando.

The ruling is a major setback for cities across the state that operated traffic cameras before a state law took effect in July 1, 2010, and would require them to pay refunds.