closeDoubleTapController method

void closeDoubleTapController(
  1. MapEventSource source
)
inherited

Implementation

void closeDoubleTapController(MapEventSource source) {
  if (_doubleTapController.isAnimating) {
    _doubleTapController.stop();

    _stopListeningForAnimationInterruptions();

    mapState.emitMapEvent(
      MapEventDoubleTapZoomEnd(
          center: mapState.center, zoom: mapState.zoom, source: source),
    );
  }
}