blob: c978f9153096849b1b7cbf781eaf1a432d16ab93 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// This setting controls how the API handles gestures on the map
enum WebGestureHandling {
/// 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.
/// All touch gestures and scroll events pan or zoom the map.
/// The map cannot be panned or zoomed by user gestures.
/// (default) Gesture handling is either cooperative or greedy, depending on
/// whether the page is scrollable or in an iframe.