remove method

void remove()

Disposes of the currently wrapped visualization.HeatmapLayer.

Implementation

void remove() {
  if (_heatmap != null) {
    _heatmap!.map = null;
    _heatmap = null;
  }
}