GestureConfig
Configuration for gesture handling on the Android Auto map surface.
Controls which gestures are enabled and how they interact with the map's tracking mode (auto-follow GPS position).
Parameters
Whether pan/drag gestures are enabled. Default: true.
Whether pinch-to-zoom gestures are enabled. Default: true.
Whether fling (momentum-based scrolling) gestures are forwarded to the callback. Default: false. The SDK provides no built-in fling implementation — the onFling() method is a no-op. Clients wanting momentum scrolling must: 1. Set flingEnabled = true in this config 2. Subclass MSDKSurfaceCallback and override onFling() with their own implementation
Whether any gesture should exit the GPS tracking mode (GUIDANCE_VIEW_AUTO → GUIDANCE_VIEW_FREE) and show the recenter button. If false, the map stays in auto-follow mode during gestures. Default: true.