Skip to content

Latest commit

 

History

History
80 lines (41 loc) · 2.27 KB

HeatmapLayer.md

File metadata and controls

80 lines (41 loc) · 2.27 KB

See html formatted version

HeatmapLayer class

google.maps.visualization.HeatmapLayer class

A layer that provides a client-side rendered heatmap, depicting the intensity of data at geographical points.

This class extends MVCObject.

Library

visualization

Constructor

undefined

HeatmapLayer([opts])

Parameters: 

Creates a new instance of HeatmapLayer.

Methods

undefined

getData()

Parameters:  None

Return Value:  MVCArray<LatLng|WeightedLocation>

Returns the data points currently displayed by this heatmap.

undefined

getMap()

Parameters:  None

Return Value:  Map

undefined

setData(data)

Parameters: 

Return Value:  None

Sets the data points to be displayed by this heatmap.

undefined

setMap(map)

Parameters: 

Return Value:  None

Renders the heatmap on the specified map. If map is set to null, the heatmap will be removed.

undefined

setOptions(options)

Parameters: 

Return Value:  None