class MapTypesHeatmapTiles extends Resource (View source)

The "heatmapTiles" collection of methods.

Typical usage is:

 $airqualityService = new Google\Service\AirQuality(...);
 $heatmapTiles = $airqualityService->mapTypes_heatmapTiles;

Methods

lookupHeatmapTile(string $mapType, int $zoom, int $x, int $y, array $optParams = [])

Returns a bytes array containing the data of the tile PNG image.

Details

HttpBody lookupHeatmapTile(string $mapType, int $zoom, int $x, int $y, array $optParams = [])

Returns a bytes array containing the data of the tile PNG image.

(heatmapTiles.lookupHeatmapTile)

Parameters

string $mapType

Required. The type of the air quality heatmap. Defines the pollutant that the map will graphically represent. Allowed values: - UAQI_RED_GREEN (UAQI, red-green palette) - UAQI_INDIGO_PERSIAN (UAQI, indigo- persian palette) - PM25_INDIGO_PERSIAN - GBR_DEFRA - DEU_UBA - CAN_EC - FRA_ATMO - US_AQI

int $zoom

Required. The map's zoom level. Defines how large or small the contents of a map appear in a map view. Zoom level 0 is the entire world in a single tile. Zoom level 1 is the entire world in 4 tiles. Zoom level 2 is the entire world in 16 tiles. Zoom level 16 is the entire world in 65,536 tiles. Allowed values: 0-16

int $x

Required. Defines the east-west point in the requested tile.

int $y

Required. Defines the north-south point in the requested tile.

array $optParams

Optional parameters.

Return Value

HttpBody

Exceptions

Exception