HeatMapLayer Class

Bing
 

This is the main class thate provides that heat map functionality.

HeatMapLayer(locations: (Location | Pushpin)[], options?: HeatMapLayerOptions)

NameReturn TypeDescription
clear()Clears all data in the heat map layer.
dispose()Disposes the heat map layer.
getVisible()booleanReturns 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.
Show: