Table of Contents

Class PollenHeatmapTileRequest

Namespace
GoogleMapsApi.Entities.Pollen.Request
Assembly
GoogleMapsApi.dll

Request for the Pollen API heatmap-tile endpoint (GET https://pollen.googleapis.com/v1/mapTypes/{mapType}/heatmapTiles/{zoom}/{x}/{y}). Downloads a single PNG map tile for the chosen pollen index. The response is binary, not JSON.

public sealed class PollenHeatmapTileRequest : MapsBaseRequest
Inheritance
PollenHeatmapTileRequest
Inherited Members

Remarks

Tile coordinates follow the standard Web Mercator scheme: X and Y are in the range [0, 2^zoom). The Pollen API is billable; calls beyond the free tier incur charges.

Properties

MapType

Which pollen index the tile renders. Required.

public PollenMapType MapType { get; set; }

Property Value

PollenMapType

X

The tile's east-west index, in the range [0, 2^zoom).

public int X { get; set; }

Property Value

int

Y

The tile's north-south index, in the range [0, 2^zoom).

public int Y { get; set; }

Property Value

int

Zoom

Zoom level, in the range [0, 16]; 0 is the whole world in one tile.

public int Zoom { get; set; }

Property Value

int

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.