mapTemplate(_:didEndPanGestureWithVelocity:)
Tells the delegate that the pan gesture ended with the specified velocity.
Declaration
optional func mapTemplate(_ mapTemplate: CPMapTemplate, didEndPanGestureWithVelocity velocity: CGPoint)Parameters
- mapTemplate:
The current map template.
- velocity:
The velocity of the pan gesture.
Discussion
CarPlay doesn’t call this method when connected to some CarPlay systems.
See Also
Panning the Map
mapTemplateDidShowPanningInterface(_:)mapTemplateWillDismissPanningInterface(_:)mapTemplateDidDismissPanningInterface(_:)mapTemplateDidBeginPanGesture(_:)mapTemplate(_:panBeganWith:)mapTemplate(_:panWith:)mapTemplate(_:panEndedWith:)CPMapTemplate.PanDirectionmapTemplate(_:didUpdatePanGestureWithTranslation:velocity:)