diff --git a/lib/src/gestures/gestures.dart b/lib/src/gestures/gestures.dart index 727933f77..3023fc714 100644 --- a/lib/src/gestures/gestures.dart +++ b/lib/src/gestures/gestures.dart @@ -387,7 +387,9 @@ abstract class MapGestureMixin extends State var mapRotated = false; if (hasMove || hasZoom) { double newZoom; - if (hasZoom) { + // checking details.scale to prevent situation whew details comes + // with zero scale + if (hasZoom && details.scale > 0.0) { newZoom = _getZoomForScale( _mapZoomStart, details.scale + _scaleCorrector);