Solar easements prevent neighbors from building anything that would obstruct your solar panels' access to sunlight whereas solar access laws prevent neighbors—and anyone else—from prohibiting you to install solar.