Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 2.2.0

* Added gesture handling options for web

## 2.1.5

Removes dependency on `meta`.
* Removes dependency on `meta`.

## 2.1.4

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/// This setting controls how the API handles gestures on the map
enum GestureHandling {
/// Scroll events and one-finger touch gestures scroll the page, and do not
/// zoom or pan the map. Two-finger touch gestures pan and zoom the map.
/// Scroll events with a ctrl key or ⌘ key pressed zoom the map. In this mode
/// the map cooperates with the page.
cooperative,

/// All touch gestures and scroll events pan or zoom the map.
greedy,

/// The map cannot be panned or zoomed by user gestures.
none,

/// (default) Gesture handling is either cooperative or greedy, depending on
/// whether the page is scrollable or in an iframe.
auto,
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export 'camera.dart';
export 'cap.dart';
export 'circle_updates.dart';
export 'circle.dart';
export 'gesture_handling.dart';
export 'joint_type.dart';
export 'location.dart';
export 'maps_object_updates.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository: https://github.com/flutter/plugins/tree/main/packages/google_maps_fl
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 2.1.5
version: 2.2.0

environment:
sdk: '>=2.12.0 <3.0.0'
Expand Down