It uses aerial imagery, factoring in your roof angle, tree cover and shading combined with data on regional weather patterns and how much electricity costs in your area to calculate an estimate of what you’d save on energy bills. Solar API is one of 3 new tools for Google Maps.