South Miami, Florida has enacted a law requiring new private and public buildings to install solar rooftop panels.