The Supreme Judicial Court ruled Tuesday that a question calling for repeal of the 2011 law can be on the November ballot.

The ruling overturns Attorney General Martha Coakley's finding that the proposed ballot question is unconstitutional because it would cause casino developers to lose property without compensation.

The law allows for up to three regional resort casinos and one slots parlor in Massachusetts. The state gambling commission recently granted MGM Resorts International a license for a proposed $800 million casino in Springfield. The two remaining licenses have not yet been awarded.

The slots parlor license has been awarded to the Plainridge harness track in Plainville.