MapInteractionDelegate
public protocol MapInteractionDelegate : AnyObject
Delegate 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.
-
Called when a map interaction occurs.
Declaration
Swift
func onMapInteraction(gestureType: GestureType, mapInteractionState: MapInteractionState)Parameters
gestureTypeThe type of the gesture that resulted in a map interaction.
mapInteractionStateThe state of the map interaction.