diff --git a/lib/src/map/options/interaction.dart b/lib/src/map/options/interaction.dart index 4211f21cb..59213f0ad 100644 --- a/lib/src/map/options/interaction.dart +++ b/lib/src/map/options/interaction.dart @@ -85,7 +85,7 @@ final class InteractionOptions { InteractiveFlag.pinchZoom | InteractiveFlag.pinchMove, this.pinchMoveThreshold = 40.0, this.pinchMoveWinGestures = - MultiFingerGesture.pinchZoom | MultiFingerGesture.pinchMove, + InteractiveFlag.pinchZoom | InteractiveFlag.pinchMove, this.scrollWheelVelocity = 0.005, this.cursorKeyboardRotationOptions = const CursorKeyboardRotationOptions(), }) : assert( diff --git a/lib/src/map/widget.dart b/lib/src/map/widget.dart index 6d0e2009b..dfe1e1023 100644 --- a/lib/src/map/widget.dart +++ b/lib/src/map/widget.dart @@ -6,7 +6,6 @@ import 'package:flutter_map/src/gestures/map_events.dart'; import 'package:flutter_map/src/gestures/map_interactive_viewer.dart'; import 'package:flutter_map/src/layer/general/mobile_layer_transformer.dart'; import 'package:flutter_map/src/layer/general/translucent_pointer.dart'; -import 'package:flutter_map/src/map/camera/camera_fit.dart'; import 'package:flutter_map/src/map/controller/internal_map_controller.dart'; import 'package:flutter_map/src/map/controller/map_controller.dart'; import 'package:flutter_map/src/map/controller/map_controller_impl.dart';