Contents

mapTemplate(_:pitchWithCenter:)

Called when a pitch gesture changes. May not be called when connected to some CarPlay systems

Declaration

optional func mapTemplate(_ mapTemplate: CPMapTemplate, pitchWithCenter center: CGPoint)

Parameters

  • mapTemplate:

    The Cpmaptemplate the gesture applies to.

  • center:

    A CGPoint that indicates the center between two fingers performing the pitch gesture.

Discussion

Tells the delegate that a person is pitching the map.