MapInteractionListener constructor

MapInteractionListener(
  1. void onMapInteractionLambda(
    1. GestureType,
    2. MapInteractionState
    )
)

Listener receiving notifications when a map interaction occurs.

A map interaction starts when a gesture begins and ends when the gesture ends or any animation triggered by the gesture finishes.

Implementation

factory MapInteractionListener(
  void Function(GestureType, MapInteractionState) onMapInteractionLambda,

) => MapInteractionListener$Lambdas(
  onMapInteractionLambda,

);