Class BuildingInsightsRequest
- Namespace
- GoogleMapsApi.Entities.Solar.Request
- Assembly
- GoogleMapsApi.dll
Request for the Google Solar API buildingInsights:findClosest endpoint
(GET https://solar.googleapis.com/v1/buildingInsights:findClosest). Returns solar
potential, roof geometry, panel layouts and financial analyses for the building closest to
the supplied coordinate.
public sealed class BuildingInsightsRequest : MapsBaseRequest
- Inheritance
-
BuildingInsightsRequest
- Inherited Members
Remarks
The Solar API is billable; calls beyond the free tier incur charges.
Properties
Latitude
Latitude of the query point, in degrees. Required.
public double Latitude { get; set; }
Property Value
Longitude
Longitude of the query point, in degrees. Required.
public double Longitude { get; set; }
Property Value
RequiredQuality
Minimum imagery quality the result must meet. When null the API returns the best available data regardless of quality.
public ImageryQuality? RequiredQuality { get; set; }
Property Value
Methods
GetUri()
Builds the absolute request URI, including scheme, base URL, and serialized query-string parameters.
public override Uri GetUri()
Returns
- Uri
The fully composed URI to send to the Google Maps API.