remove method

void remove()

Removes the GroundOverlay from the map.

Implementation

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