HeatMapLayer Class
This is the main class that provides that heat map functionality.
Constructor
HeatMapLayer(locations: (Location | Pushpin)[], options?: HeatMapLayerOptions)
Methods
Name | Return Type | Description |
---|---|---|
clear() |
Clears all data in the heat map layer. | |
dispose() |
Disposes the heat map layer. | |
getVisible() |
boolean | Returns a boolean indicating if the heat map layer is visible or not. |
setLocations(loc: (Location or Pushpin)[]) | Specifies the locations to use when generating the heat map. | |
setOptions(opt: HeatMapLayerOptions) | Sets the options to use with the heat map layer. | |
setVisible(visible: boolean) |
Sets the visibility of the heat map layer. |