MapGestures class Basic

Configure gestures that are enabled on the map.

Annotations

Constructors

MapGestures({required bool rotate, required bool pan, required bool zoom, required bool pitch})
Create a new MapGestures object by setting all gestures.
const
MapGestures.all({bool rotate = true, bool pan = true, bool zoom = true, bool pitch = true})
Create a new MapGestures object by enabling all gestures or disabling just some gestures.
const
MapGestures.none({bool rotate = false, bool pan = false, bool zoom = false, bool pitch = false})
Create a new MapGestures object by disable all gestures or enabling just some gestures.
const

Properties

allEnabled → bool
Returns true if all gestures are active
no setter
hashCode → int
The hash code for this object.
no setteroverride
pan → bool
Move the center of the map around.
final
pitch → bool
Tilt (pitch) the map camera.
final
rotate → bool
Rotate the map bearing.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
zoom → bool
Zoom the map in and out.
final

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.
override