Interface IGoogleMapsClient
- Namespace
- GoogleMapsApi
- Assembly
- GoogleMapsApi.dll
Instance-based entry point exposing every supported Google Maps Web Service.
Designed for dependency injection scenarios where an HttpClient
is supplied (typically via IHttpClientFactory) and a single API key is shared across calls.
public interface IGoogleMapsClient
Properties
AddressValidation
Validate a postal address (Address Validation API). Supports USPS CASS for US/PR addresses.
IEngineFacade<AddressValidationRequest, AddressValidationResponse> AddressValidation { get; }
Property Value
AerialView
Render and look up cinematic flyover videos via the Aerial View API.
IAerialViewApi AerialView { get; }
Property Value
AirQualityCurrentConditions
Get current hourly air-quality conditions for a coordinate via the Air Quality API (billable).
IEngineFacade<CurrentConditionsRequest, CurrentConditionsResponse> AirQualityCurrentConditions { get; }
Property Value
AirQualityForecast
Get an hourly air-quality forecast for a coordinate via the Air Quality API (billable).
IEngineFacade<ForecastRequest, ForecastResponse> AirQualityForecast { get; }
Property Value
AirQualityHeatmapTile
Download an air-quality heatmap map tile as raw PNG bytes via the Air Quality API (billable).
IEngineFacade<HeatmapTileRequest, HeatmapTileResponse> AirQualityHeatmapTile { get; }
Property Value
AirQualityHistory
Get past hourly air-quality records for a coordinate via the Air Quality API (billable).
IEngineFacade<HistoryRequest, HistoryResponse> AirQualityHistory { get; }
Property Value
Directions
Perform directions operations.
IEngineFacade<DirectionsRequest, DirectionsResponse> Directions { get; }
Property Value
DistanceMatrix
Retrieve duration and distance values based on the recommended route between start and end points.
IEngineFacade<DistanceMatrixRequest, DistanceMatrixResponse> DistanceMatrix { get; }
Property Value
Elevation
Perform elevation operations.
IEngineFacade<ElevationRequest, ElevationResponse> Elevation { get; }
Property Value
Geocode
Perform geocoding operations.
IEngineFacade<GeocodingRequest, GeocodingResponse> Geocode { get; }
Property Value
NearestRoads
Find the nearest road segment for each of a set of points (Roads API).
IEngineFacade<NearestRoadsRequest, NearestRoadsResponse> NearestRoads { get; }
Property Value
PlaceDetailsNew
Fetch rich details about a single place via the Places API (New).
IEngineFacade<PlaceDetailsRequest, Place> PlaceDetailsNew { get; }
Property Value
PlacePhoto
Resolve a place photo reference to an image URI via the Places API (New).
IEngineFacade<PlacePhotoRequest, PlacePhotoResponse> PlacePhoto { get; }
Property Value
PlacesAutocompleteNew
Get place/query predictions for typed input via the Places API (New).
IEngineFacade<AutocompleteRequest, AutocompleteResponse> PlacesAutocompleteNew { get; }
Property Value
PlacesSearchNearby
Search for places near a location via the Places API (New).
IEngineFacade<SearchNearbyRequest, SearchNearbyResponse> PlacesSearchNearby { get; }
Property Value
PlacesSearchText
Search for places by free-text query via the Places API (New).
IEngineFacade<SearchTextRequest, SearchTextResponse> PlacesSearchText { get; }
Property Value
PollenForecast
Get a multi-day pollen forecast (types and plants) for a coordinate via the Pollen API (billable).
IEngineFacade<PollenForecastRequest, PollenForecastResponse> PollenForecast { get; }
Property Value
PollenHeatmapTile
Download a pollen heatmap map tile as raw PNG bytes via the Pollen API (billable).
IEngineFacade<PollenHeatmapTileRequest, PollenHeatmapTileResponse> PollenHeatmapTile { get; }
Property Value
Routes
Compute routes via the Routes API — the modern replacement for the Directions API.
IEngineFacade<RoutesRequest, RoutesResponse> Routes { get; }
Property Value
SnapToRoads
Snap GPS points to the most likely road segments traveled (Roads API).
IEngineFacade<SnapToRoadsRequest, SnapToRoadsResponse> SnapToRoads { get; }
Property Value
SolarBuildingInsights
Get solar potential, roof geometry and financial analyses for a building via the Solar API (billable).
IEngineFacade<BuildingInsightsRequest, BuildingInsightsResponse> SolarBuildingInsights { get; }
Property Value
SolarDataLayers
Get URLs to solar raster data layers for a region via the Solar API (billable).
IEngineFacade<DataLayersRequest, DataLayersResponse> SolarDataLayers { get; }
Property Value
SolarGeoTiff
Download a Solar API data layer as raw GeoTIFF bytes (billable).
IEngineFacade<GeoTiffRequest, GeoTiffResponse> SolarGeoTiff { get; }
Property Value
SpeedLimits
Look up posted speed limits along a path or for place IDs (Roads API). Requires a Google Asset Tracking license; other keys receive an HTTP 403.
IEngineFacade<SpeedLimitsRequest, SpeedLimitsResponse> SpeedLimits { get; }
Property Value
TimeZone
Retrieve time zone data for a coordinate.
IEngineFacade<TimeZoneRequest, TimeZoneResponse> TimeZone { get; }