updateSettings method
- GesturesSettings settings
Applies GesturesSettings configuration changes.
Supported GesturesSettings fields per platform:
- Mobile (iOS / Android): all fields except GesturesSettings.scrollZoomEnabled, GesturesSettings.boxZoomEnabled, and GesturesSettings.pitchWithRotateEnabled (web only).
- Web: GesturesSettings.scrollEnabled, GesturesSettings.pinchToZoomEnabled, GesturesSettings.rotateEnabled, GesturesSettings.pitchEnabled, GesturesSettings.doubleTapToZoomInEnabled, GesturesSettings.scrollZoomEnabled, GesturesSettings.boxZoomEnabled, GesturesSettings.pitchWithRotateEnabled.
Some of these fields interact on web (e.g. rotate and pitch share a keyboard flag). See each field's own docs for the specifics.
Fields not supported on the current platform are ignored.
Note: on Web, GesturesSettings.scrollEnabled =
falsedisables pointer/touch pan but keyboard arrow-pan stays on for accessibility. A fine-grained keyboard pan toggle is pending GL JS support (GLJS-1828).
Implementation
Future<void> updateSettings(GesturesSettings settings) =>
_impl.updateSettings(settings);