WebGestureHandling enum

This setting controls how the API handles gestures on the map

Inheritance
Available extensions

Values

cooperative → const 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.

greedy → const WebGestureHandling

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

none → const WebGestureHandling

The map cannot be panned or zoomed by user gestures.

auto → const WebGestureHandling

(default) Gesture handling is either cooperative or greedy, depending on whether the page is scrollable or in an iframe.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<WebGestureHandling>
A constant List of the values in this enum, in order of their declaration.